diff --git a/packages/logger/src/winston.ts b/packages/logger/src/winston.ts index f7d4d797abf4..441712028d7f 100644 --- a/packages/logger/src/winston.ts +++ b/packages/logger/src/winston.ts @@ -77,8 +77,8 @@ export class WinstonLogger implements Logger { this.createLogEntry(LogLevel.debug, message, context, error); } - trace(): void { - throw new Error("Trace it not supported by Lodestar"); + trace(message: string, context?: LogData, error?: Error): void { + this.createLogEntry(LogLevel.trace, message, context, error); } private createLogEntry(level: LogLevel, message: string, context?: LogData, error?: Error): void {