X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Futils%2FUtils.ts;h=1ad1a7924bb0b5e4eb5e8fc7778a9d89f953eda6;hb=5612b691da864fc2822629bbee32ed8008ee6472;hp=2411c605bfc27c44ebd2d70b6bc3643f12a635e3;hpb=17ac262c08a637a9aef23c350176bf476ad212ef;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/Utils.ts b/src/utils/Utils.ts index 2411c605..1ad1a792 100644 --- a/src/utils/Utils.ts +++ b/src/utils/Utils.ts @@ -1,7 +1,12 @@ import crypto from 'crypto'; + import { v4 as uuid } from 'uuid'; export default class Utils { + private constructor() { + // This is intentional + } + public static logPrefix(prefixString = ''): string { return new Date().toLocaleString() + prefixString; }