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.1 to 2.2.2

13

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

@@ -25,2 +25,4 @@ "main": "lib/log.js",

"log4js",
"roarr",
"synclog",
"logging",

@@ -38,10 +40,11 @@ "logger",

"tap": "^12.0.1",
"eslint": "^5.3.0",
"eslint": "^5.6.1",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.13.0",
"winston": "^3.0.0",
"winston": "^3.1.0",
"log4js": "^3.0.5",
"bunyan": "^1.8.12",
"pino": "^5.0.5",
"roarr": "^2.11.2"
"pino": "^5.7.0",
"roarr": "^2.11.2",
"synclog": "^1.0.1"
},

@@ -48,0 +51,0 @@ "dependencies": {

@@ -196,3 +196,3 @@ # abslog

const abslog = require('abslog');
const roarr = require('roarr').default
const roarr = require('roarr').default;

@@ -203,3 +203,15 @@ const log = abslog(roarr);

### synclog
[synclog](https://github.com/trygve-lie/synclog) is found to be compatible.
```js
const abslog = require('abslog');
const SyncLog = require('synclog')
const log = abslog(new SyncLog('debug'));
log.info('hello');
```
## License

@@ -209,3 +221,3 @@

Copyright (c) 2017 - Trygve Lie - post@trygve-lie.com
Copyright (c) 2018 - Trygve Lie - post@trygve-lie.com

@@ -212,0 +224,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

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