next-logger
next-logger copied to clipboard
Pass config through import
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)