error log and info log winston code example
Example: winston logger node js
const info = { level: 'info', // Level of the logging message message: 'Hey! Log something?' // Descriptive message being logged.};
const info = { level: 'info', // Level of the logging message message: 'Hey! Log something?' // Descriptive message being logged.};