Can Winston logging be selectively disabled when executing unit tests of a node module?
Ideally, I\'d like to have logging for informational and debug purposes when the
Create a logger:
const logger = createLogger({ level: "info", format: format.json(), transports: [] });
Silence all logging:
logger.transports.forEach((t) => (t.silent = true));