fixed default log format
This commit is contained in:
parent
ae4cd79166
commit
3c1cba2e81
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue