This commit is contained in:
2025-12-04 11:54:42 +01:00
parent 9d5caa87f3
commit b7d5551ea7
223 changed files with 5473 additions and 885 deletions

View File

@@ -0,0 +1,19 @@
import type { ILogger, LogContext } from '../../../application/ports/ILogger';
export class NoOpLogAdapter implements ILogger {
debug(_message: string, _context?: LogContext): void {}
info(_message: string, _context?: LogContext): void {}
warn(_message: string, _context?: LogContext): void {}
error(_message: string, _error?: Error, _context?: LogContext): void {}
fatal(_message: string, _error?: Error, _context?: LogContext): void {}
child(_context: LogContext): ILogger {
return this;
}
async flush(): Promise<void> {}
}