Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
chargingStationsPerWorker?: number;
logStatisticsInterval?: number;
logFormat?: string;
- logLevel?: level;
+ logLevel?: string;
logRotate?: boolean;
logMaxFiles?: number;
logFile?: string;
return Configuration.objectHasOwnProperty(Configuration.getConfig(), 'logMaxFiles') ? Configuration.getConfig().logMaxFiles : 7;
}
- static getLogLevel(): level {
- return Configuration.objectHasOwnProperty(Configuration.getConfig(), 'logLevel') ? Configuration.getConfig().logLevel.toLowerCase() as level : 'info';
+ static getLogLevel(): string {
+ return Configuration.objectHasOwnProperty(Configuration.getConfig(), 'logLevel') ? Configuration.getConfig().logLevel.toLowerCase() : 'info';
}
static getLogFile(): string {