fix logger

This commit is contained in:
2025-12-15 22:39:17 +01:00
parent 7a11daa878
commit 3b566c973d
110 changed files with 1413 additions and 903 deletions

View File

@@ -6,13 +6,13 @@
import type { SeasonSponsorship, SponsorshipTier } from '../../domain/entities/SeasonSponsorship';
import type { ISeasonSponsorshipRepository } from '../../domain/repositories/ISeasonSponsorshipRepository';
import type { ILogger } from '@gridpilot/shared/logging/ILogger';
import type { Logger } from '@gridpilot/shared/logging/Logger';
export class InMemorySeasonSponsorshipRepository implements ISeasonSponsorshipRepository {
private sponsorships: Map<string, SeasonSponsorship> = new Map();
private readonly logger: ILogger;
private readonly logger: Logger;
constructor(logger: ILogger, seedData?: SeasonSponsorship[]) {
constructor(logger: Logger, seedData?: SeasonSponsorship[]) {
this.logger = logger;
this.logger.info('InMemorySeasonSponsorshipRepository initialized.');
if (seedData) {