Skip to content

Commit

Permalink
docs: add pino-seq-transport to list of v7+ compatible transports (#1432
Browse files Browse the repository at this point in the history
)
  • Loading branch information
eadmundo authored May 7, 2022
1 parent 174723e commit 22e0935
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion docs/transports.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ PR's to this document are welcome for any new transports!
+ [pino-elasticsearch](#pino-elasticsearch)
+ [pino-pretty](#pino-pretty)
+ [pino-loki](#pino-loki)
+ [pino-seq-transport](#pino-seq-transport)
### Legacy
Expand Down Expand Up @@ -593,7 +594,7 @@ CLI :
node app.js | pino-loki --hostname localhost:3100 --labels='{ "application": "my-application"}' --user my-username --password my-password
```
Worker :
Worker :
```js
const pino = require('pino')
const transport = pino.transport({
Expand Down Expand Up @@ -682,6 +683,24 @@ $ node app.js | pino-seq --serverUrl http://localhost:5341 --apiKey 1234567890 -
[pino-seq]: https://www.npmjs.com/package/pino-seq
[Seq]: https://datalust.co/seq
<a id="pino-seq-transport"></a>
### pino-seq-transport
[pino-seq-transport][pino-seq-transport] is a Pino v7+ compatible transport to forward log events to [Seq][Seq]
from a dedicated worker:
```js
const pino = require('pino')
const transport = pino.transport({
target: '@autotelic/pino-seq-transport',
options: { serverUrl: 'http://localhost:5341' }
})
pino(transport)
```
[pino-seq-transport]: https://github.com/autotelic/pino-seq-transport
[Seq]: https://datalust.co/seq
<a id="pino-socket"></a>
### pino-socket
Expand Down

0 comments on commit 22e0935

Please sign in to comment.