From: Jérôme Benoit Date: Mon, 23 Jan 2023 22:09:38 +0000 (+0100) Subject: Fix extra whitespace in log messages prefix X-Git-Tag: v1.1.92~22 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a1e5fe4e22aaee2d4c7535fc9b6998f0e5f9a8f3;p=e-mobility-charging-stations-simulator.git Fix extra whitespace in log messages prefix Signed-off-by: Jérôme Benoit --- diff --git a/src/utils/Utils.ts b/src/utils/Utils.ts index f6fe0670..ca8f44af 100644 --- a/src/utils/Utils.ts +++ b/src/utils/Utils.ts @@ -12,7 +12,7 @@ export default class Utils { } public static logPrefix(prefixString = ''): string { - return `${new Date().toLocaleString()} ${prefixString}`; + return `${new Date().toLocaleString()}${prefixString}`; } public static generateUUID(): string {