Interface: Logger
Logger interface for logging information, debugging messages, and SQL queries.
Properties
debugEnabled
debugEnabled:
boolean
Whether debug logging is enabled.
Defined in
packages/verse-core/src/utils/logging.ts:50
infoEnabled
infoEnabled:
boolean
Whether info logging is enabled.
Defined in
packages/verse-core/src/utils/logging.ts:45
Methods
debug()
debug(
message
:any
):void
Logs the given message at the debug level.
Parameters
Parameter | Type | Description |
---|---|---|
message | any | The message to be logged. |
Returns
void
Defined in
packages/verse-core/src/utils/logging.ts:33
info()
info(
message
:any
):void
Logs the given message at the info level.
Parameters
Parameter | Type | Description |
---|---|---|
message | any | The message to be logged. |
Returns
void
Defined in
packages/verse-core/src/utils/logging.ts:19
sql()
sql(
sql
:string
):void
Logs the given SQL query.
Parameters
Parameter | Type | Description |
---|---|---|
sql | string | The SQL query to be logged. |
Returns
void
Defined in
packages/verse-core/src/utils/logging.ts:40
warn()
warn(
message
:any
):void
Logs the given message at the warn level.
Parameters
Parameter | Type | Description |
---|---|---|
message | any | The message to be logged. |