Comparing version 2.2.1 to 2.2.2
{ | ||
"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
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
9528
238
10