1.1.0 • Published 2 years ago
@totalsoft/pino-opentracing v1.1.0
pino-opentracing
This package can be used to write the log event on the active opentracing span.
Installation
npm i @totalsoft/pino-opentracing
or
yarn add @totalsoft/pino-opentracing
Usage
import { opentracingTransport } from '@totalsoft/pino-opentracing'
import { pino } from 'pino'
const destination = opentracingTransport()
const logger = pino({}, destination)
1.1.0
2 years ago