From ef445fd54263caf44d4ec00e6c6a4e9861e6bcae Mon Sep 17 00:00:00 2001 From: Enrico Deleo Date: Fri, 1 Jul 2022 15:33:29 +0200 Subject: [PATCH] fix: interface option --- README.md | 4 +--- package.json | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eaad760..fae0493 100644 --- a/README.md +++ b/README.md @@ -29,13 +29,11 @@ const logger = pino({ performanceStats: false, }, }, - level: "info", // which level to send to aibrake + minLevel: "info", // minimum log level that should be sent to Aibrake }, }); ``` -if log contain error, it will send to aibrake using captureException if not it will use captureMessage. - ## Credits Originally forked from [tomer-yechie's Sentry implementation](https://github.com/tomer-yechiel/pino-sentry-transport) diff --git a/package.json b/package.json index 37f284d..26542cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pino-airbrake-transport", - "version": "0.0.3", + "version": "1.0.1", "description": "Airbrake Transport for Pino", "keywords": [ "typescript",