From 0b5381f82ead9af5451f3dd4d72e9042508728cf Mon Sep 17 00:00:00 2001 From: velvettear Date: Thu, 2 Nov 2023 14:21:51 +0100 Subject: [PATCH] add whitespace before extras --- format.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.go b/format.go index 4834363..371c51b 100644 --- a/format.go +++ b/format.go @@ -16,7 +16,7 @@ const PLACEHOLDER_TIMEDIFF = "$TIMEDIFF$" const PLACEHOLDER_EXTRAS = "$EXTRAS$" // current log format (defaults to: "$TIMESTAMP$ - [$LOGLEVEL$] > $MESSAGE ($EXTRAS$) [$TIMEDIFF$]") -var logFormat = PLACEHOLDER_TIMESTAMP + " - [" + PLACEHOLDER_LOGLEVEL + "] > " + PLACEHOLDER_MESSAGE + "(" + PLACEHOLDER_EXTRAS + ") [" + PLACEHOLDER_TIMEDIFF + "]" +var logFormat = PLACEHOLDER_TIMESTAMP + " - [" + PLACEHOLDER_LOGLEVEL + "] > " + PLACEHOLDER_MESSAGE + " (" + PLACEHOLDER_EXTRAS + ") [" + PLACEHOLDER_TIMEDIFF + "]" // current date format (defaults to: "02.01.2006 15:04:05") var dateFormat = "02.01.2006 15:04:05"