Skip to content

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

fail(...args: any[]): void

Writes an entry at the critical level, the most severe log level.

ParameterTypeDescription
argsany[]Values that make up the message.

Returns: void · Availability: Server

error(...args: any[]): void

Writes an entry at the error level.

ParameterTypeDescription
argsany[]Values that make up the message.

Returns: void · Availability: Server

warn(...args: any[]): void

Writes an entry at the warning level.

ParameterTypeDescription
argsany[]Values that make up the message.

Returns: void · Availability: Server

info(...args: any[]): void

Writes an entry at the info level.

ParameterTypeDescription
argsany[]Values that make up the message.

Returns: void · Availability: Server

debug(...args: any[]): void

Writes an entry at the debug level, the least severe log level.

ParameterTypeDescription
argsany[]Values that make up the message.

Returns: void · Availability: Server