namespace staticWX. Log
Source: waax.
Features system-wide logging utilities.
Methods
staticerror(...message)
Prints an error message on console and throws an error.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
message |
String |
|
messages to be printed. Value can be repeated. |
staticinfo(...message)
Prints an informative message on console.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
message |
String |
|
messages to be printed Value can be repeated. |
staticsetLevel(level)
Sets logging level.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
level |
Number |
|
logging level { 1: info, 2: warn, 3: error } |
staticwarn(...message)
Prints a warning message on console.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
message |
String |
|
messages to be printed. Value can be repeated. |