think-logger3
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "think-logger3", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "logger for ThinkJS 3.x", | ||
@@ -5,0 +5,0 @@ "main": "./src", |
@@ -6,3 +6,3 @@ const Base = require('./base'); | ||
// eslint-disable-next-line prefer-const | ||
let {level, filename, pattern, alwaysIncludePattern, absolute, layout} = config; | ||
let {level, filename, pattern, alwaysIncludePattern, absolute, layout, mode, numBackups} = config; | ||
level = level ? level.toUpperCase() : 'ALL'; | ||
@@ -12,3 +12,3 @@ | ||
appenders: { | ||
dateFile: {type: 'dateFile', filename, pattern, alwaysIncludePattern, absolute, layout} | ||
dateFile: {type: 'dateFile', filename, pattern, alwaysIncludePattern, absolute, layout, mode, numBackups} | ||
}, | ||
@@ -15,0 +15,0 @@ categories: { |
@@ -6,3 +6,3 @@ const Base = require('./base'); | ||
// eslint-disable-next-line prefer-const | ||
let {level, filename, maxLogSize, backups, absolute, layout} = config; | ||
let {level, filename, maxLogSize, backups, absolute, layout, mode} = config; | ||
level = level ? level.toUpperCase() : 'ALL'; | ||
@@ -13,3 +13,3 @@ | ||
appenders: { | ||
file: {type: 'file', filename, maxLogSize, backups, absolute, layout} | ||
file: {type: 'file', filename, maxLogSize, backups, absolute, layout, mode} | ||
}, | ||
@@ -16,0 +16,0 @@ categories: { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13428