Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-color-log

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-color-log - npm Package Compare versions

Comparing version 8.0.0 to 8.0.1

3

change.log.md

@@ -0,1 +1,4 @@

8.0.1
- revise README
8.0.0

@@ -2,0 +5,0 @@ - add success option

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc