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

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

Hierarchy

  • Integration
    • winston

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