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 { Transaction, TransactionType } from '../../domain/entities/Transaction';
import type { ITransactionRepository } from '../../domain/repositories/ITransactionRepository';
import type { ILogger } from '@gridpilot/shared/logging/ILogger';
import type { Logger } from '@gridpilot/shared/logging/Logger';
export class InMemoryTransactionRepository implements ITransactionRepository {
private transactions: Map<string, Transaction> = new Map();
private readonly logger: ILogger;
private readonly logger: Logger;
constructor(logger: ILogger, seedData?: Transaction[]) {
constructor(logger: Logger, seedData?: Transaction[]) {
this.logger = logger;
this.logger.info('InMemoryTransactionRepository initialized.');
if (seedData) {