pino icon indicating copy to clipboard operation
pino copied to clipboard

fix: Lowercase the custom levels only when useOnlyCustomLevels is true

Open ondrej-langr opened this issue 1 year ago • 2 comments

Typescript enums usually have uppercased keys. This change completely breaks implementation when the useOnlyCustomLevels option is set to true and the enum of custom levels includes DEBUG key.

ondrej-langr avatar Oct 07 '24 10:10 ondrej-langr

CI is failing

mcollina avatar Oct 15 '24 12:10 mcollina

@mcollina hey, can you please look at this when you will have some time? Thanks

ondrej-langr avatar Nov 12 '24 10:11 ondrej-langr