next-logger icon indicating copy to clipboard operation
next-logger copied to clipboard

Pass config through import

Open Netail opened this issue 9 months ago • 0 comments

Hi,

I was wondering, wouldn't it be nice to also be able to pass the pino config through the import instead only through a next-logger.config.js file

Something like:

await require('next-logger')(pinoConfig)

Netail avatar Mar 06 '25 10:03 Netail