Skip to content

Commit

Permalink
fix: interface option
Browse files Browse the repository at this point in the history
  • Loading branch information
enricodeleo committed Jul 1, 2022
1 parent 29ad1fb commit ef445fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pino-airbrake-transport",
"version": "0.0.3",
"version": "1.0.1",
"description": "Airbrake Transport for Pino",
"keywords": [
"typescript",
Expand Down

0 comments on commit ef445fd

Please sign in to comment.