pino-datadog
Advanced tools
Comparing version 1.2.1 to 2.0.0
@@ -13,3 +13,3 @@ # API | ||
// create pino loggger | ||
const logger = pinoms({ streams: [writeStream] }) | ||
const logger = pinoms({ streams: [{ stream: writeStream }] }) | ||
// log some events | ||
@@ -70,3 +70,3 @@ logger.info('Informational message') | ||
#### service | ||
#### service | ||
@@ -73,0 +73,0 @@ Type: `String` *(optional)* |
@@ -6,3 +6,3 @@ # CLI | ||
```bash | ||
$ npm install -g pino-datadog | ||
npm install -g pino-datadog | ||
``` | ||
@@ -15,3 +15,3 @@ | ||
```bash | ||
$ node foo | pino-datadog --key blablabla | ||
node foo | pino-datadog --key blablabla | ||
``` | ||
@@ -18,0 +18,0 @@ |
{ | ||
"name": "pino-datadog", | ||
"version": "1.2.1", | ||
"version": "2.0.0", | ||
"description": "A transport for pino that sends messages to DataDog", | ||
@@ -37,6 +37,6 @@ "homepage": "https://github.com/ovhemert/pino-datadog", | ||
"devDependencies": { | ||
"pino-multi-stream": "^4.3.0", | ||
"pino-multi-stream": "^5.1.1", | ||
"sinon": "^9.0.2", | ||
"standard": "^14.3.3", | ||
"tap": "^14.10.7" | ||
"standard": "^14.3.4", | ||
"tap": "^14.10.8" | ||
}, | ||
@@ -46,3 +46,3 @@ "dependencies": { | ||
"batch2": "^1.0.6", | ||
"commander": "^5.1.0", | ||
"commander": "^6.0.0", | ||
"fast-json-parse": "^1.0.3", | ||
@@ -52,4 +52,4 @@ "pumpify": "^2.0.1", | ||
"stream": "0.0.2", | ||
"through2": "^3.0.1" | ||
"through2": "^4.0.2" | ||
} | ||
} |
# pino-datadog | ||
[![Travis](https://img.shields.io/travis/com/ovhemert/pino-datadog.svg?branch=master&logo=travis)](https://travis-ci.com/ovhemert/pino-datadog) | ||
[![CI](https://github.com/ovhemert/pino-datadog/workflows/CI/badge.svg)](https://github.com/ovhemert/pino-datadog/actions) | ||
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/fbe6390adeba49a5a62349410a8439cc)](https://www.codacy.com/app/ovhemert/pino-datadog?utm_source=github.com&utm_medium=referral&utm_content=ovhemert/pino-datadog&utm_campaign=Badge_Grade) | ||
@@ -16,3 +16,3 @@ [![Known Vulnerabilities](https://snyk.io/test/npm/pino-datadog/badge.svg)](https://snyk.io/test/npm/pino-datadog) | ||
```bash | ||
$ npm install -g pino-datadog | ||
npm install -g pino-datadog | ||
``` | ||
@@ -23,3 +23,3 @@ | ||
```bash | ||
$ npm install pino-datadog | ||
npm install pino-datadog | ||
``` | ||
@@ -45,3 +45,3 @@ | ||
If you would like to help out with some code, check the [details](./docs/CONTRIBUTING.md). | ||
If you would like to help out with some code, check the [details](./.github/CONTRIBUTING.md). | ||
@@ -48,0 +48,0 @@ Not a coder, but still want to support? Have a look at the options available to [donate](https://ovhemert.dev/donate). |
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
37105
27
+ Addedcommander@6.2.1(transitive)
+ Addedthrough2@4.0.2(transitive)
- Removedcommander@5.1.0(transitive)
Updatedcommander@^6.0.0
Updatedthrough2@^4.0.2