think-logger3
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "think-logger3", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "logger for ThinkJS 3.x", | ||
@@ -5,0 +5,0 @@ "main": "./src", |
@@ -110,3 +110,3 @@ # think-logger | ||
`think-logger3` will auto detect cluster mode, you needn't configure for cluster handly. | ||
`think-logger3` will auto detect cluster mode by `cluster.workers`, you needn't configure for cluster handly. If you want instance logger before fork worker, you can use like `new Logger({handle: Logger.File}, true)`. | ||
@@ -113,0 +113,0 @@ |
const assert = require('assert'); | ||
const ConsoleAdapter = require('./adapter/console'); | ||
const FileAdapter = require('./adapter/file'); | ||
const DateFileAdapter = require('./adapter/file'); | ||
const DateFileAdapter = require('./adapter/datefile'); | ||
@@ -22,2 +22,2 @@ class Logger { | ||
Logger.DateFile = DateFileAdapter; | ||
module.exports = Logger; | ||
module.exports = Logger; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
144929
39
675