|
|
@ -34,7 +34,7 @@ class Log { |
|
|
|
logger: Logger; |
|
|
|
logger: Logger; |
|
|
|
constructor () { |
|
|
|
constructor () { |
|
|
|
this.logger = winston.createLogger({ |
|
|
|
this.logger = winston.createLogger({ |
|
|
|
level: 'error', |
|
|
|
level: 'info', |
|
|
|
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.colorize({ all: true }), |
|
|
|