ecs-logging-nodejs icon indicating copy to clipboard operation
ecs-logging-nodejs copied to clipboard

Does not allow for log level configuration

Open mpicardvolvo opened this issue 1 year ago • 0 comments

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" }))

mpicardvolvo avatar Mar 21 '24 08:03 mpicardvolvo