Logger: rename level => levelname to avoid name collision
This commit is contained in:
parent
3937b8c271
commit
b60a69e7d2
@ -18,10 +18,10 @@ module.exports = class Logger {
|
||||
formatters: {
|
||||
level (label) {
|
||||
if (label === 'warn') {
|
||||
return { level: 'warning' };
|
||||
return { levelname: 'warning' };
|
||||
}
|
||||
|
||||
return { level: label };
|
||||
return { levelname: label };
|
||||
}
|
||||
},
|
||||
messageKey: 'message',
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -814,7 +814,7 @@
|
||||
"integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo="
|
||||
},
|
||||
"camshaft": {
|
||||
"version": "github:cartodb/camshaft#0d64ad11d61b860682eef2cb2980aa9f8a97fe5f",
|
||||
"version": "github:cartodb/camshaft#85082160a8c936e0521965b095e39349c652e4f5",
|
||||
"from": "github:cartodb/camshaft#feature/ch91877/remove-log-aggregation-in-metro",
|
||||
"requires": {
|
||||
"async": "^1.5.2",
|
||||
|
Loading…
Reference in New Issue
Block a user