kitten-logger
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -0,1 +1,5 @@ | ||
## v0.3.2 | ||
*2024-11-08* | ||
- Fix logger level from env. | ||
## v0.3.1 | ||
@@ -2,0 +6,0 @@ *2024-10-21* |
@@ -15,6 +15,6 @@ const cluster = require('cluster'); | ||
// Remove timestamp and color from "debug" package | ||
process.env.DEBUG_HIDE_DATE = true; | ||
process.env.DEBUG_COLORS = 0; | ||
process.env.DEBUG_HIDE_DATE = process.env.DEBUG_HIDE_DATE || true; | ||
process.env.DEBUG_COLORS = process.env.DEBUG_COLORS || 0; | ||
process.env.KITTEN_LOGGER = process.env.KITTEN_LOGGER || process.env.DEBUG || '*'; | ||
process.env.KITTEN_LOGGER_LEVEL = 'INFO'; | ||
process.env.KITTEN_LOGGER_LEVEL = process.env.KITTEN_LOGGER_LEVEL|| 'INFO'; | ||
@@ -21,0 +21,0 @@ if (process.env.KITTEN_LOGGER_IS_LOADED) { |
{ | ||
"name": "kitten-logger", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -84,3 +84,3 @@ # kitten-logger | ||
Create a persistent logger. It returns a logger Object. | ||
Create a simple logger. It returns a logger Object. | ||
@@ -87,0 +87,0 @@ Variable | Description |
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
34919
24