logger
2 min
OCP App SDK / logger
Variable: logger
Defined in: src/logging/Logger.ts:303
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