level() #
Available since 2.43.0
Deprecated since 2.60.0
Changes the log level of the Kuzzle logger at runtime.
This method only works once the application is started. Before that, it prints a message with console.log and does nothing.
level(level: string): void| Argument | Type | Description |
|---|---|---|
level | string | New log level: trace, debug, info, warn, error, fatal or silent |