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.2 to 2.2.3

10

package.json
{
"name": "abslog",
"version": "2.2.2",
"version": "2.2.3",
"description": "An abstract logger - Enables adding logging to modules without adding a dependency to a full log library. ",
"main": "lib/log.js",
"directories": {
"lib": "lib"
},
"files": [
"lib"
],
"scripts": {

@@ -26,2 +26,3 @@ "test": "tap test/*.js",

"roarr",
"logdna",
"synclog",

@@ -48,2 +49,3 @@ "logging",

"roarr": "^2.11.2",
"logdna": "^2.1.1",
"synclog": "^1.0.1"

@@ -50,0 +52,0 @@ },

17

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) [![Greenkeeper badge](https://badges.greenkeeper.io/trygve-lie/abslog.svg)](https://greenkeeper.io/)
[![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?style=flat-square)](https://greenkeeper.io/)
[![Known Vulnerabilities](https://snyk.io/test/github/trygve-lie/abslog/badge.svg?targetFile=package.json&style=flat-square)](https://snyk.io/test/github/trygve-lie/abslog?targetFile=package.json)

@@ -214,3 +217,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.

### LogDna
[LogDna](https://www.npmjs.com/package/logdna) is found to be compatible.
```js
const abslog = require('abslog');
const LogDna = require('logDna')
const log = abslog(Logdna.createLogger('some_api_key_goes_here', {}));
log.info('hello');
```
## License

@@ -217,0 +232,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