X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcharging-station%2Fui-server%2FUIServerUtils.ts;h=cada139961dd0044686074eecbb158a0b6c16e7e;hb=9bf0ef23c51160abc6866ad8d07eea85e308edb8;hp=056d31fa8e0f0b37a9ec6101a0418b6d1c3d5fc4;hpb=01f4001e733ebc61423d3023d87b1399b6afa215;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ui-server/UIServerUtils.ts b/src/charging-station/ui-server/UIServerUtils.ts index 056d31fa..cada1399 100644 --- 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 { Utils, logger } from '../../utils'; +import { logPrefix, logger } from '../../utils'; export class UIServerUtils { private constructor() { @@ -24,7 +24,7 @@ export class UIServerUtils { } } logger.error( - `${Utils.logPrefix( + `${logPrefix( ' UI WebSocket Server |' )} Unsupported protocol: ${protocol} or protocol version: ${version}` );