mirror of
https://github.com/snobu/destreamer.git
synced 2026-02-27 16:58:22 +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') {
|
else if (info.level === 'verbose') {
|
||||||
return colors.cyan('\n[VERBOSE] ') + info.message;
|
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}`;
|
return `${info.level}: ${info.message} - ${info.timestamp}`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user