120 in printWidth since rocky got md

This commit is contained in:
Christopher committed 2021-03-02 20:56:15 +01:00
1 parent f552c1212c
commit d27aeb3b0e
90 files changed
+398 -1146

No files matched your search

+2 -4
View File
@@ -7,14 +7,12 @@ 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}`;
};
const findLogPath = () =>
`${path.join(GetResourcePath(GetCurrentResourceName()), 'sv_npwd.log')}`;
const findLogPath = () => `${path.join(GetResourcePath(GetCurrentResourceName()), 'sv_npwd.log')}`;
// Initiate the main logger for NPWD
export const mainLogger = winston.createLogger({