diff --git a/README.md b/README.md index 455a7798e..d2df45aab 100644 --- a/README.md +++ b/README.md @@ -764,11 +764,11 @@ const logger = winston.createLogger({ level: 'error', format: winston.format.json() }), - new transports.Http({ + new winston.transports.Http({ level: 'warn', format: winston.format.json() }), - new transports.Console({ + new winston.transports.Console({ level: 'info', format: winston.format.combine( winston.format.colorize(),