@leaflink/snitch
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "@leaflink/snitch", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Front end logging inspired by winston.", | ||
@@ -21,2 +21,7 @@ "type": "module", | ||
"default": "./dist/transports/sentry.js" | ||
}, | ||
"./transports/datadog.js": { | ||
"types": "./dist/transports/datadog.d.ts", | ||
"import": "./dist/transports/datadog.js", | ||
"default": "./dist/transports/datadog.js" | ||
} | ||
@@ -23,0 +28,0 @@ }, |
@@ -11,3 +11,3 @@ # @leaflink/snitch | ||
Transports are a way of routing log messages to multiple destinations, with the ability to pre-process or format the message. `@leaflink/snitch` includes two transports by default (`console` and Sentry), but they can be extended using the `Transport` type exported by the logger. | ||
Transports are a way of routing log messages to multiple destinations, with the ability to pre-process or format the message. `@leaflink/snitch` includes three transports by default (`console`, Sentry, and Datadog), but they can be extended using the `Transport` type exported by the logger. | ||
@@ -215,2 +215,2 @@ ## Log Levels | ||
Note: You can add a custom transport in your project, but consider opening a PR in this repo instead! | ||
Note: You can add a custom transport in your project, but consider opening a PR in this repo instead! |
22210
215