This plugin patches the pino to automatically inject trace identifiers in log records when the logInjection option is enabled on the tracer.

interface pino {
    enabled?: boolean;
    service?: any;
}

Hierarchy

  • Integration
    • pino

Properties

Properties

enabled?: boolean

Whether to enable the plugin.

Default

true
service?: any

The service name to be used for this plugin.

Generated using TypeDoc