Sys.Log
Sys.Log writes entries to the Lowgile server log. Each function joins its arguments into one message: strings are kept as they are, objects are serialized to JSON, and other values are converted to text.
An entry is only recorded if its level is active in the instance’s log settings. The server log keeps its database and console levels separately, so an entry can appear in one and not the other.
Availability: Server
Functions
Section titled “Functions”fail()
Section titled “fail()”fail(...args: any[]): voidWrites an entry at the critical level, the most severe log level.
| Parameter | Type | Description |
|---|---|---|
args | any[] | Values that make up the message. |
Returns: void · Availability: Server
error()
Section titled “error()”error(...args: any[]): voidWrites an entry at the error level.
| Parameter | Type | Description |
|---|---|---|
args | any[] | Values that make up the message. |
Returns: void · Availability: Server
warn()
Section titled “warn()”warn(...args: any[]): voidWrites an entry at the warning level.
| Parameter | Type | Description |
|---|---|---|
args | any[] | Values that make up the message. |
Returns: void · Availability: Server
info()
Section titled “info()”info(...args: any[]): voidWrites an entry at the info level.
| Parameter | Type | Description |
|---|---|---|
args | any[] | Values that make up the message. |
Returns: void · Availability: Server
debug()
Section titled “debug()”debug(...args: any[]): voidWrites an entry at the debug level, the least severe log level.
| Parameter | Type | Description |
|---|---|---|
args | any[] | Values that make up the message. |
Returns: void · Availability: Server