@redspher2021/fastify-sematext-stream
v1.0.4
Published
stream to plug on sematext logger to send logs to sematext
Downloads
5
Keywords
Readme
fastify-sematext-stream
Stream to send pino fastify logs to sematext
Usage
- Can be used with typescript or javascript
- install project
npm i --save @redspher2021/fastify-sematext-stream
- Used build function
import { build } from '@redspher2021/fastify-sematext-stream'
const stream = build({ baseURL: sematextBaseURL, index: sematextIndex });
const instance = fastify({ logger: { stream });