@koopjs/logger
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -5,3 +5,7 @@ # Change Log | ||
## [2.0.1] - 2018-01-18 | ||
## [2.0.2] - 2018-01-17 | ||
### Fixed | ||
* Log on one line only | ||
## [2.0.1] - 2018-01-17 | ||
### Changed | ||
@@ -38,2 +42,3 @@ * Log json in production | ||
[2.0.2]: https://www.github.com/koopjs/koop-logger/compare/v2.0.1..v2.0.2 | ||
[2.0.1]: https://www.github.com/koopjs/koop-logger/compare/v2.0.0..v2.0.1 | ||
@@ -40,0 +45,0 @@ [2.0.0]: https://www.github.com/koopjs/koop-logger/compare/v1.2.0..v2.0.0 |
@@ -25,5 +25,6 @@ /* @flow */ | ||
const debugConsole = new winston.transports.Console({ | ||
colorize: !!process.env.NODE_ENV, | ||
colorize: process.env.NODE_ENV === 'production', | ||
level, | ||
json: !!process.env.NODE_ENV | ||
stringify: true, | ||
json: true | ||
}) | ||
@@ -30,0 +31,0 @@ return new winston.Logger({ transports: [debugConsole] }) |
{ | ||
"name": "@koopjs/logger", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "A shared logger for Koop", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
56089
8
76
5