Skip to content

Commit

Permalink
NG16 - fixed the builds
Browse files Browse the repository at this point in the history
  • Loading branch information
VitoAlbano committed Aug 22, 2024
1 parent a8c1be4 commit 3afbfe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/core/src/lib/common/services/log.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { Subject } from 'rxjs';
providedIn: 'root'
})
export class LogService {
get currentLogLevel() {
get currentLogLevel(): number {
const configLevel: string = this.appConfig.get<string>(AppConfigValues.LOG_LEVEL);

if (configLevel) {
Expand Down Expand Up @@ -171,7 +171,7 @@ export class LogService {
* @param level Level name
* @returns Numeric log level
*/
getLogLevel(level: string): LogLevelsEnum {
getLogLevel(level: string): number {
const referencedLevel = logLevels.find((currentLevel: any) => currentLevel.name.toLocaleLowerCase() === level.toLocaleLowerCase());

return referencedLevel ? referencedLevel.level : 5;
Expand Down

0 comments on commit 3afbfe1

Please sign in to comment.