mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 10:02:05 +02:00
No colors
This commit is contained in:
@@ -11,7 +11,6 @@ module.exports = class XiaoClient extends CommandoClient {
|
|||||||
this.logger = winston.createLogger({
|
this.logger = winston.createLogger({
|
||||||
transports: [new winston.transports.Console()],
|
transports: [new winston.transports.Console()],
|
||||||
format: winston.format.combine(
|
format: winston.format.combine(
|
||||||
winston.format.colorize({ all: true }),
|
|
||||||
winston.format.timestamp({ format: 'MM/DD/YYYY HH:mm:ss' }),
|
winston.format.timestamp({ format: 'MM/DD/YYYY HH:mm:ss' }),
|
||||||
winston.format.printf(log => `[${log.timestamp}] [${log.level.toUpperCase()}]: ${log.message}`)
|
winston.format.printf(log => `[${log.timestamp}] [${log.level.toUpperCase()}]: ${log.message}`)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user