winstonjs/logform

Can I add format by logger instance?

Opened this issue · 1 comments

For example :

const logger = createLogger({
format: format.combin(
format.json(),
format.errors(),
)
});

// i can add format by addFormat API or some other API, someone can help me
logger.addFormat(format.timestamp())

I have the same problem after initilze the format combine