logger
OCP App SDK / logger
logger
Const
ILogger
Logger instance to be used by OCP apps.
Minimum log level can be configured by using ocp app set-log-level
command, e.g.:
ocp app set-log-level [email protected] error
ocp app set-log-level [email protected] info
To get the current log level of an app, use the command ocp app get-log-level
command, e.g.:
ocp app get-log-level [email protected] --trackerId=1234
Accepted levels include debug, info, warn, error
Defined in: src/logging/Logger.ts:301
Updated 3 months ago