diff --git a/apps/server/src/core/logger/interfaces/legacy-logger.interface.ts b/apps/server/src/core/logger/interfaces/legacy-logger.interface.ts index 5f88f503de1..b27fb122991 100644 --- a/apps/server/src/core/logger/interfaces/legacy-logger.interface.ts +++ b/apps/server/src/core/logger/interfaces/legacy-logger.interface.ts @@ -7,7 +7,7 @@ export type RequestLoggingBody = { /** * @deprecated The new logger for loggables should be used. */ -export interface ILegacyLogger { +export interface LegacyLoggerInterface { http(message: RequestLoggingBody, context?: string): void; log(message: unknown, context?: string): void; error(message: unknown, trace?: string, context?: string): void; diff --git a/apps/server/src/core/logger/legacy-logger.service.ts b/apps/server/src/core/logger/legacy-logger.service.ts index e8b8139e041..91a6defc1f8 100644 --- a/apps/server/src/core/logger/legacy-logger.service.ts +++ b/apps/server/src/core/logger/legacy-logger.service.ts @@ -3,7 +3,7 @@ import { WINSTON_MODULE_PROVIDER } from 'nest-winston'; import util from 'util'; import { Logger as WinstonLogger } from 'winston'; import { RequestLoggingBody } from './interfaces'; -import { ILegacyLogger } from './interfaces/legacy-logger.interface'; +import { LegacyLoggerInterface } from './interfaces/legacy-logger.interface'; @Injectable({ scope: Scope.TRANSIENT }) /** @@ -12,7 +12,7 @@ import { ILegacyLogger } from './interfaces/legacy-logger.interface'; * Must implement ILegacyLogger but must not extend ConsoleLogger (this can be changed). * Transient injection: Wherever injected, a separate instance will be created, that can be provided with a custom context. */ -export class LegacyLogger implements ILegacyLogger { +export class LegacyLogger implements LegacyLoggerInterface { /** * This Logger Service can be injected into every Class, * use setContext() with CustomProviderClass.name that will be added to every log.