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

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

Hierarchy

  • Integration
    • bunyan

Properties

Properties

enabled?: boolean

Whether to enable the plugin.

Default

true
service?: any

The service name to be used for this plugin.