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

abslog

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abslog - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

5

package.json
{
"name": "abslog",
"version": "2.2.0",
"version": "2.2.1",
"description": "An abstract logger - Enables adding logging to modules without adding a dependency to a full log library. ",

@@ -43,3 +43,4 @@ "main": "lib/log.js",

"bunyan": "^1.8.12",
"pino": "^5.0.5"
"pino": "^5.0.5",
"roarr": "^2.11.2"
},

@@ -46,0 +47,0 @@ "dependencies": {

14

README.md
# abslog
[![Dependencies](https://img.shields.io/david/trygve-lie/abslog.svg?style=flat-square)](https://david-dm.org/trygve-lie/abslog)[![Build Status](http://img.shields.io/travis/trygve-lie/abslog/master.svg?style=flat-square)](https://travis-ci.org/trygve-lie/abslog)
[![Dependencies](https://img.shields.io/david/trygve-lie/abslog.svg?style=flat-square)](https://david-dm.org/trygve-lie/abslog)[![Build Status](http://img.shields.io/travis/trygve-lie/abslog/master.svg?style=flat-square)](https://travis-ci.org/trygve-lie/abslog) [![Greenkeeper badge](https://badges.greenkeeper.io/trygve-lie/abslog.svg)](https://greenkeeper.io/)

@@ -190,3 +190,15 @@ An abstract logger - Enables adding logging to modules without adding a dependency to a full log library. This way, the consumer of your modules can plug in their own log library of choice.

### roarr
[roarr](https://github.com/gajus/roarr) is found to be compatible.
```js
const abslog = require('abslog');
const roarr = require('roarr').default
const log = abslog(roarr);
log.info('hello');
```
## License

@@ -193,0 +205,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