File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -398,7 +398,8 @@ PRs to this document are welcome for any new transports!
398
398
+ [pino-sentry-transport](#pino-sentry-transport)
399
399
+ [pino-airbrake-transport](#pino-airbrake-transport)
400
400
+ [pino-datadog-transport](#pino-datadog-transport)
401
- + [pino-slack-webhook](#pino-slack-webhook)
401
+ + [pino-slack-webhook](#pino-slack-webhook)
402
+ + [pino-axiom](#pino-axiom)
402
403
403
404
### Legacy
404
405
@@ -934,6 +935,26 @@ pino(transport)
934
935
935
936
[pino-pretty]: https://github.com/pinojs/pino-pretty
936
937
938
+ For full documentation of command line switches read the [README](https://github.com/abeai/pino-websocket#readme).
939
+
940
+ <a id="pino-axiom"></a>
941
+ ### pino-axiom
942
+
943
+ [pino-axiom](https://www.npmjs.com/package/pino-axiom) is a transport that will forward logs to [Axiom](https://axiom.co).
944
+
945
+ ` ` ` javascript
946
+ const pino = require (' pino' )
947
+ const transport = pino .transport ({
948
+ target: ' pino-axiom' ,
949
+ options: {
950
+ orgId: ' YOUR-ORG-ID' ,
951
+ token: ' YOUR-TOKEN' ,
952
+ dataset: ' YOUR-DATASET' ,
953
+ },
954
+ })
955
+ pino (transport)
956
+ ` ` `
957
+
937
958
<a id="communication-between-pino-and-transport"></a>
938
959
## Communication between Pino and Transports
939
960
Here we discuss some technical details of how Pino communicates with its [worker threads](https://nodejs.org/api/worker_threads.html).
You can’t perform that action at this time.
0 commit comments