@loglayer/transport-tracer
v1.0.4
Published
tracer transport for loglayer.
Downloads
262
Maintainers
Readme
Tracer Transport for LogLayer
The Tracer transport for LogLayer.
tracer is a powerful and customizable logging library for node.js.
Installation
npm install loglayer @loglayer/transport-tracer tracer
Usage
import { LogLayer } from 'loglayer'
import { TracerTransport } from '@loglayer/transport-tracer'
import tracer from 'tracer'
const logger = tracer.console()
const log = new LogLayer({
transport: new TracerTransport({
id: 'tracer',
logger
})
})
Documentation
For more details, visit https://loglayer.dev/transports/tracer