koatty_logger
Advanced tools
Comparing version 1.2.8 to 1.2.10
@@ -5,2 +5,4 @@ # Changelog | ||
### [1.2.10](https://github.com/thinkkoa/koatty_logger/compare/v1.2.8...v1.2.10) (2021-12-01) | ||
### [1.2.8](https://github.com/thinkkoa/koatty_logger/compare/v1.2.6...v1.2.8) (2021-12-01) | ||
@@ -7,0 +9,0 @@ |
@@ -9,3 +9,3 @@ "use strict"; | ||
* @LastEditors: Please set LastEditors | ||
* @LastEditTime: 2021-12-01 20:28:00 | ||
* @LastEditTime: 2021-12-01 22:29:40 | ||
* @License: BSD (3-Clause) | ||
@@ -82,7 +82,2 @@ * @Copyright (c) - <richenlin(at)gmail.com> | ||
} | ||
if (process.env.NODE_ENV === 'production') { | ||
this.logConsole = false; | ||
this.logFile = true; | ||
this.logFileLevel = "INFO"; | ||
} | ||
if (process.env.LOGS_WRITE) { | ||
@@ -89,0 +84,0 @@ this.logFile = !!process.env.LOGS_WRITE; |
{ | ||
"name": "koatty_logger", | ||
"version": "1.2.8", | ||
"version": "1.2.10", | ||
"description": "Logger for koatty.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
9
1807306
837