@sumor/logger
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "@sumor/logger", | ||
"description": "This is a lightweight logger for Node.JS. It can output logs in different levels, and you can customize the scope, id, and timezone.", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": "sumor-cloud/logger", |
@@ -39,3 +39,3 @@ import filterLevels from './filterLevels.js' | ||
if (levels.indexOf(level) > -1) { | ||
this[level](code, message) | ||
this[level](message) | ||
} else { | ||
@@ -42,0 +42,0 @@ this.error(code, parameters) |
12777