Enforce singleton design pattern for the logger
[e-mobility-charging-stations-simulator.git] / src / types / ConfigurationData.ts
index 56ee0354510cca07327b6a6ce48973f1a8ab9dcd..54ce659cc81d369b632fc09b793c77776e36277e 100644 (file)
@@ -2,7 +2,6 @@ import { ServerOptions } from 'ws';
 import { StorageType } from './Storage';
 import type { WorkerChoiceStrategy } from 'poolifier';
 import { WorkerProcessType } from './Worker';
-import { level } from 'winston';
 
 export enum SupervisionUrlDistribution {
   ROUND_ROBIN = 'round-robin',
@@ -41,7 +40,7 @@ export default interface ConfigurationData {
   chargingStationsPerWorker?: number;
   logStatisticsInterval?: number;
   logFormat?: string;
-  logLevel?: level;
+  logLevel?: string;
   logRotate?: boolean;
   logMaxFiles?: number;
   logFile?: string;