node-color-log
Advanced tools
Comparing version 8.0.0 to 8.0.1
@@ -0,1 +1,4 @@ | ||
8.0.1 | ||
- revise README | ||
8.0.0 | ||
@@ -2,0 +5,0 @@ - add success option |
{ | ||
"name": "node-color-log", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "The more powerful JavaScript logger for NodeJS and browsers.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -141,3 +141,3 @@ ![Banner](https://raw.githubusercontent.com/tigercosmos/node-color-log/master/assets/banner.png) | ||
### `setLevel()` & `LOGGER` environment variable & `success()` | ||
### `setLevel()` & `LOGGER` environment variable | ||
@@ -149,3 +149,5 @@ If you want to set mask for levels, simply add the line at the front. Levels below the setting level will all be hidden. There are four levels, which are `debug`, `info`, `warn`, `error`, or `disable` in lower-case. | ||
logger.debug("This `debug` will be hidden"); | ||
logger.success("However, you can use `success` to break the level, so this line will be shown."); | ||
logger.setLevel("disable"); // hide every logs | ||
logger.success("However, you can use `success` to break the disable, so this line will be shown."); | ||
``` | ||
@@ -152,0 +154,0 @@ |
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
29992
196