Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

LogLevel

The JS SDK supports 5 log levels and also allows a user the ability to silence the logs altogether.

The order is a follows: DEBUG < VERBOSE < INFO < WARN < ERROR

All of the log types above the current log level will be captured (i.e. if you set the log level to INFO, errors will still be logged, but DEBUG and VERBOSE logs will not)

enum LogLevel {
DEBUG = 0,
VERBOSE = 1,
INFO = 2,
WARN = 3,
ERROR = 4,
SILENT = 5,
}

§Members

§
LogLevel.DEBUG = 0
[src]
§
LogLevel.ERROR = 4
[src]
§
LogLevel.INFO = 2
[src]
§
LogLevel.SILENT = 5
[src]
§
LogLevel.VERBOSE = 1
[src]
§
LogLevel.WARN = 3
[src]