Socket
Socket
Sign inDemoInstall

console-log-level

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

console-log-level - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

6

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

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