• Returns a function that creates an OpenTelemetry mixin object for pino logger. The function lets you add trace information to the log record object. The mixin object contains trace information such as trace ID, span ID, and trace flags.

    Returns (mergeObject: object, level: number) => object

    A function that takes in a mergeObject and level, and returns an object with trace information.