repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
README.md: document missing UI protocol commands
[e-mobility-charging-stations-simulator.git]
/
src
/
utils
/
Utils.ts
diff --git
a/src/utils/Utils.ts
b/src/utils/Utils.ts
index 2411c605bfc27c44ebd2d70b6bc3643f12a635e3..1ad1a7924bb0b5e4eb5e8fc7778a9d89f953eda6 100644
(file)
--- a/
src/utils/Utils.ts
+++ b/
src/utils/Utils.ts
@@
-1,7
+1,12
@@
import crypto from 'crypto';
import crypto from 'crypto';
+
import { v4 as uuid } from 'uuid';
export default class Utils {
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;
}
public static logPrefix(prefixString = ''): string {
return new Date().toLocaleString() + prefixString;
}