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
refactor: split Utils static methods class into functions
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ui-server
/
UIServerUtils.ts
diff --git
a/src/charging-station/ui-server/UIServerUtils.ts
b/src/charging-station/ui-server/UIServerUtils.ts
index 056d31fa8e0f0b37a9ec6101a0418b6d1c3d5fc4..cada139961dd0044686074eecbb158a0b6c16e7e 100644
(file)
--- a/
src/charging-station/ui-server/UIServerUtils.ts
+++ b/
src/charging-station/ui-server/UIServerUtils.ts
@@
-1,7
+1,7
@@
import type { IncomingMessage } from 'node:http';
import { Protocol, ProtocolVersion } from '../../types';
import type { IncomingMessage } from 'node:http';
import { Protocol, ProtocolVersion } from '../../types';
-import {
Utils
, logger } from '../../utils';
+import {
logPrefix
, logger } from '../../utils';
export class UIServerUtils {
private constructor() {
export class UIServerUtils {
private constructor() {
@@
-24,7
+24,7
@@
export class UIServerUtils {
}
}
logger.error(
}
}
logger.error(
- `${
Utils.
logPrefix(
+ `${logPrefix(
' UI WebSocket Server |'
)} Unsupported protocol: ${protocol} or protocol version: ${version}`
);
' UI WebSocket Server |'
)} Unsupported protocol: ${protocol} or protocol version: ${version}`
);