mirror of
https://github.com/snobu/destreamer.git
synced 2026-01-17 05:22:18 +00:00
added debug logging
This commit is contained in:
@@ -35,6 +35,9 @@ function customPrint (info: winston.Logform.TransformableInfo): string {
|
||||
else if (info.level === 'verbose') {
|
||||
return colors.cyan('\n[VERBOSE] ') + info.message;
|
||||
}
|
||||
else if (info.level === 'debug') {
|
||||
return colors.magenta('\n[debug] ') + info.message;
|
||||
}
|
||||
|
||||
return `${info.level}: ${info.message} - ${info.timestamp}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user