Put in order · NestJS course · Module 6: Error Handling and Monitoring

Winston Log Format

Arrange the Winston format configuration elements from outermost to innermost

Items to put in order

  • winston.format.combine(
  • winston.format.json() )
  • winston.format.errors({ stack: true }),
  • winston.format.timestamp(),

You can check the correct answer by solving this task in the CodeWorlds game.