Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

LogLevel: "all" | "trace" | "debug" | "log" | "info" | "warn" | "error" | "off"

A list of logger's log level. These levels are sorted in order of increasing severity. Each log level includes itself and all the levels behind itself.

Example

new Logger({logLevel: 'warn'}) will print all the warn and error message.