Skip to content

Does not allow for log level configuration #183

Open
@mpicardvolvo

Description

@mpicardvolvo

It does not seem to be possible to configure the log level of pino when using esc format. I would like to configure the log level per environment and this does not seem possible with esc format.

Current Behaviour

const logger = pino(ecsFormat({ serviceName: "helloworld" }))

Expected Behaviour

const logger = pino(ecsFormat({ serviceName: "helloworld", logLevel: "info" }))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions