-
Notifications
You must be signed in to change notification settings - Fork 981
Open
Description
Should not this
countly-server/api/utils/log.js
Lines 66 to 71 in 59c9403
| const ACCEPTABLE = { | |
| d: ['debug'], | |
| i: ['debug', 'info'], | |
| w: ['debug', 'info', 'warn'], | |
| e: ['debug', 'info', 'warn', 'error'], | |
| }; |
be rewritten as this?
const ACCEPTABLE = {
d: ['debug', 'info', 'warn', 'error'],
i: ['info', 'warn', 'error'],
w: ['warn', 'error'],
e: ['error'],
};
When we set logger level to debug we want all logs of all levels to be shown. And when we set to error we want only errors to be shown.
Metadata
Metadata
Assignees
Labels
No labels