@totalsoft/pino-opentracing
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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)

/@totalsoft/pino-opentracing/

    Package Sidebar

    Install

    npm i @totalsoft/pino-opentracing

    Weekly Downloads

    14

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    38.1 kB

    Total Files

    12

    Last publish

    Collaborators

    • osstotalsoft