Open roscha444 opened 3 years ago
add log level to logger
DEBUG->only for debug purposes (maybe there is a flag in .env to enable or disable debug mode) INFO -> is standard info to log WARN-> something strange ERROR-> error, but is catched FATAL -> critical error (e.g. database error.... )
maybe it makes more sense to switch to a logging dependency
https://github.com/winstonjs/winston
add log level to logger
DEBUG->only for debug purposes (maybe there is a flag in .env to enable or disable debug mode) INFO -> is standard info to log WARN-> something strange ERROR-> error, but is catched FATAL -> critical error (e.g. database error.... )