Change logger semantics

This commit is contained in:
zkldi
2021-04-09 23:38:00 +01:00
parent 94ec302e77
commit 4fd4d7deee
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -3960,7 +3960,7 @@
},
"node_modules/kamaitachi-common": {
"version": "0.1.0",
"resolved": "git+ssh://git@github.com/zkldi/Kamaitachi-common.git#d8fe104e6f1ef8a839b3092bf306c00897b02d1e",
"resolved": "git+ssh://git@github.com/zkldi/Kamaitachi-common.git#5348ee725a8c30ed18fd73673d20640068f37422",
"license": "ISC",
"dependencies": {
"monk": "^7.3.3"
@@ -12027,7 +12027,7 @@
}
},
"kamaitachi-common": {
"version": "git+ssh://git@github.com/zkldi/Kamaitachi-common.git#d8fe104e6f1ef8a839b3092bf306c00897b02d1e",
"version": "git+ssh://git@github.com/zkldi/Kamaitachi-common.git#5348ee725a8c30ed18fd73673d20640068f37422",
"from": "kamaitachi-common@git+https://github.com/zkldi/Kamaitachi-common.git",
"requires": {
"monk": "^7.3.3"
+1 -1
View File
@@ -56,7 +56,7 @@ const logger = winston.createLogger({
levels: {
crit: 0, // entire process termination is necessary
error: 1, // function call (or related process) has failed unexpectedly
warn: 2, // function call has hit something it didn't expect, but can recover
warn: 2, // function call has hit something it didn't want, but can recover
info: 3, // something has happened that is expected, but worth logging
verbose: 4, // something has happened
debug: 5, // glorified console.log debugging
@@ -27,7 +27,7 @@ export default async function ScoreImportMain<D, C>(
// @todo
// Create import document
const ImportDocument: ImportDocument = {
const ImportDocument: = {
}
}