text: const winston = require('winston');
  require('express-async-errors');
  const logger = winston.createLogger({
    format: winston.format.simple(),
    transports: [
      new winston.transports.Console({
        handleExceptions: true,
        colorize: true,
        prettyPrint: true,
        level: 'info',
      }),
  
      new winston.transports.File({ filename: 'path/to/combined.log' }),
    ],
    exceptionHandlers: [
      new winston.transports.File({ filename: 'path/to/exceptions.log' }),
    ],
  });
  module.exports = logger;
  