printWidth: 100

This commit is contained in:
Christopher committed 2021-03-02 21:03:06 +01:00
1 parent d27aeb3b0e
commit 6f4ee009a9
63 files changed
+602 -223

No files matched your search

+2 -1
View File
@@ -7,7 +7,8 @@ const manualColorize = (strToColor: string): string => `[\x1b[35m${strToColor}\x
// Format handler passed to winston
const formatLogs = (log: winston.Logform.TransformableInfo): string => {
if (log.module) return `${log.label} ${manualColorize(log.module)} [${log.level}]: ${log.message}`;
if (log.module)
return `${log.label} ${manualColorize(log.module)} [${log.level}]: ${log.message}`;
return `${log.label} [${log.level}]: ${log.message}`;
};