fixed default log format

This commit is contained in:
Daniel Sommer 2023-11-02 11:39:19 +01:00
parent ae4cd79166
commit 3c1cba2e81

View file

@ -16,7 +16,7 @@ const PLACEHOLDER_TIMEDIFF = "$TIMEDIFF$"
const PLACEHOLDER_EXTRAS = "$EXTRAS$" const PLACEHOLDER_EXTRAS = "$EXTRAS$"
// current log format (defaults to: "$TIMESTAMP$ - [$LOGLEVEL$] > $MESSAGE ($EXTRAS$) [$TIMEDIFF$]") // current log format (defaults to: "$TIMESTAMP$ - [$LOGLEVEL$] > $MESSAGE ($EXTRAS$) [$TIMEDIFF$]")
var logFormat = "$TIMESTAMP$ - [$LOGLEVEL$] > $MESSAGE ($EXTRAS$) [$TIMEDIFF$]" var logFormat = PLACEHOLDER_TIMESTAMP + " - [" + PLACEHOLDER_LOGLEVEL + "] > " + PLACEHOLDER_MESSAGE + "(" + PLACEHOLDER_EXTRAS + ") [" + PLACEHOLDER_TIMEDIFF + "]"
// current date format (defaults to: "02.01.2006 15:04:05") // current date format (defaults to: "02.01.2006 15:04:05")
var dateFormat = "02.01.2006 15:04:05" var dateFormat = "02.01.2006 15:04:05"