Better Logging
Github
Search
⌃
K
Links
Introduction
Setup
Install
Log Levels
Configuration
format
formatStamp
saveToFile
logLevels
color
messageConstructionStrategy
extra
Decorate Arbitrary Object
Custom Instance
Express Middleware
Typescript Support
Upgrade Guides
4.x to 5.x
3.x to 4.x
Powered By
GitBook
Comment on page
Log Levels
There are 6 different defined log levels. If log method X has a log level of N and the current log level is >=N, then X will be logged.
Levels
debug
: 4
log
: 3
info
: 2
warn
: 1
error
: 0
line
: 1
turn off all logging: -1
default: 3
Setup - Previous
Install
Next - Configuration
format
Last modified
1yr ago