ILogger
OCP App SDK / ILogger
Interface: ILogger
Defined in: src/logging/Logger.ts:122
OCP Logger interface
Methods
debug()
Call Signature
debug(...
args
):void
Defined in: src/logging/Logger.ts:129
Write something to the logs at the Debug level
Parameters
args
...any
[]
One or more values to log.
Objects are formatted using util.inspect
, other values are converted to a string.
Multiple values are concatenated with a space between
Returns
void
Call Signature
debug(
visibility
, ...args
):void
Defined in: src/logging/Logger.ts:138
Write something to the logs at the Debug level
Parameters
visibility
log visibility level (to override the default visibility)
args
...any
[]
One or more values to log.
Objects are formatted using util.inspect
, other values are converted to a string.
Multiple values are concatenated with a space between
Returns
void
error()
Call Signature
error(...
args
):void
Defined in: src/logging/Logger.ts:180
Write something to the logs at the Error level
Parameters
args
...any
[]
One or more values to log.
Objects are formatted using util.inspect
, other values are converted to a string.
Multiple values are concatenated with a space between
Returns
void
Call Signature
error(
visibility
, ...args
):void
Defined in: src/logging/Logger.ts:189
Write something to the logs at the Error level
Parameters
visibility
log visibility level (to override the default visibility)
args
...any
[]
One or more values to log.
Objects are formatted using util.inspect
, other values are converted to a string.
Multiple values are concatenated with a space between
Returns
void
info()
Call Signature
info(...
args
):void
Defined in: src/logging/Logger.ts:146
Write something to the logs at the Info level
Parameters
args
...any
[]
One or more values to log.
Objects are formatted using util.inspect
, other vaules are converted to a string.
Multiple values are concatenated with a space between
Returns
void
Call Signature
info(
visibility
, ...args
):void
Defined in: src/logging/Logger.ts:155
Write something to the logs at the Info level
Parameters
visibility
log visibility level (to override the default visibility)
args
...any
[]
One or more values to log.
Objects are formatted using util.inspect
, other values are converted to a string.
Multiple values are concatenated with a space between
Returns
void
warn()
Call Signature
warn(...
args
):void
Defined in: src/logging/Logger.ts:163
Write something to the logs at the Warning level
Parameters
args
...any
[]
One or more values to log.
Objects are formatted using util.inspect
, other values are converted to a string.
Multiple values are concatenated with a space between
Returns
void
Call Signature
warn(
visibility
, ...args
):void
Defined in: src/logging/Logger.ts:172
Write something to the logs at the Warning level
Parameters
visibility
log visibility level (to override the default visibility)
args
...any
[]
One or more values to log.
Objects are formatted using util.inspect
, other values are converted to a string.
Multiple values are concatenated with a space between
Returns
void
Updated 3 days ago