We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4e10c9 commit 7b4e917Copy full SHA for 7b4e917
lib/logger.js
@@ -346,27 +346,27 @@ class Logger {
346
}
347
348
trace(msgOrObj, fields) {
349
- this._log('trace', 10, msgOrObj, fields);
+ this._log('trace', LEVELS.trace, msgOrObj, fields);
350
351
352
debug(msgOrObj, fields) {
353
- this._log('debug', 20, msgOrObj, fields);
+ this._log('debug', LEVELS.debug, msgOrObj, fields);
354
355
356
info(msgOrObj, fields) {
357
- this._log('info', 30, msgOrObj, fields);
+ this._log('info', LEVELS.info, msgOrObj, fields);
358
359
360
warn(msgOrObj, fields) {
361
- this._log('warn', 40, msgOrObj, fields);
+ this._log('warn', LEVELS.warn, msgOrObj, fields);
362
363
364
error(msgOrObj, fields) {
365
- this._log('error', 50, msgOrObj, fields);
+ this._log('error', LEVELS.error, msgOrObj, fields);
366
367
368
fatal(msgOrObj, fields) {
369
- this._log('fatal', 60, msgOrObj, fields);
+ this._log('fatal', LEVELS.fatal, msgOrObj, fields);
370
371
372
0 commit comments