console-log-level
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "console-log-level", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "The most simple logger imaginable", | ||
@@ -34,5 +34,5 @@ "main": "index.js", | ||
"coordinates": [ | ||
55.68783401556421, | ||
12.595827270202676 | ||
55.687724, | ||
12.5956242 | ||
] | ||
} |
@@ -9,3 +9,4 @@ # console-log-level | ||
[![build status](https://secure.travis-ci.org/watson/console-log-level.png)](http://travis-ci.org/watson/console-log-level) | ||
[![Build status](https://travis-ci.org/watson/console-log-level.svg?branch=master)](https://travis-ci.org/watson/console-log-level) | ||
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard) | ||
@@ -21,9 +22,9 @@ ## Installation | ||
```js | ||
var log = require('console-log-level')({ level: 'info' }); | ||
var log = require('console-log-level')({ level: 'info' }) | ||
log.debug('a'); // will not do anything | ||
log.info('b'); // will output 'b\n' on STDOUT | ||
log.warn('c'); // will output 'c\n' on STDERR | ||
log.error('d'); // will output 'd\n' on STDERR | ||
log.fatal('e'); // will output 'e\n' on STDERR | ||
log.debug('a') // will not do anything | ||
log.info('b') // will output 'b\n' on STDOUT | ||
log.warn('c') // will output 'c\n' on STDERR | ||
log.error('d') // will output 'd\n' on STDERR | ||
log.fatal('e') // will output 'e\n' on STDERR | ||
``` | ||
@@ -37,5 +38,5 @@ | ||
var log = require('console-log-level')({ | ||
prefix: function () { return new Date().toISOString(); }, | ||
prefix: function () { return new Date().toISOString() }, | ||
level: 'info' | ||
}); | ||
}) | ||
``` | ||
@@ -42,0 +43,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8992
53
0