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)