@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)

Readme

Keywords

Package Sidebar

Install

npm i @totalsoft/pino-opentracing

Weekly Downloads

59

Version

1.1.0

License

MIT

Unpacked Size

38.1 kB

Total Files

12

Last publish

Collaborators

  • osstotalsoft