Logging
Persisted logging, logs messages can be saved both to commands and events
Functions
info
Function (...args: unknown[]) => void
Log a message at the “INFO” logging level
Argument | Type | Example | Description |
---|---|---|---|
args | unknown | ”Example message”, true, | Any type of data, will be stored in the log |
error
Function (...args: unknown[]) => void
Log a message at the “ERROR” logging level
Argument | Type | Example | Description |
---|---|---|---|
args | unknown | ”Example message”, true, | Any type of data, will be stored in the log |
warn
Function (...args: unknown[]) => void
Log a message at the “WARN” logging level
Argument | Type | Example | Description |
---|---|---|---|
args | unknown | ”Example message”, true, | Any type of data, will be stored in the log |
debug
Function (...args: unknown[]) => void
Log a message at the “DEBUG” logging level
Argument | Type | Example | Description |
---|---|---|---|
args | unknown | ”Example message”, true, | Any type of data, will be stored in the log |