build
Some checks failed
Build & Deploy KLZ Cables / deploy (push) Failing after 36s

This commit is contained in:
2026-01-25 13:51:08 +01:00
parent 2d93321a91
commit 5659073f95

View File

@@ -25,33 +25,39 @@ export class PinoLoggerService implements LoggerService {
}
trace(msg: string, ...args: any[]) {
// @ts-expect-error - pino types can be strict
this.logger.trace(msg, ...args);
}
debug(msg: string, ...args: any[]) {
// @ts-expect-error - pino types can be strict
this.logger.debug(msg, ...args);
}
info(msg: string, ...args: any[]) {
// @ts-expect-error - pino types can be strict
this.logger.info(msg, ...args);
}
warn(msg: string, ...args: any[]) {
// @ts-expect-error - pino types can be strict
this.logger.warn(msg, ...args);
}
error(msg: string, ...args: any[]) {
// @ts-expect-error - pino types can be strict
this.logger.error(msg, ...args);
}
fatal(msg: string, ...args: any[]) {
// @ts-expect-error - pino types can be strict
this.logger.fatal(msg, ...args);
}
child(bindings: Record<string, any>): LoggerService {
const childPino = this.logger.child(bindings);
const service = new PinoLoggerService();
// @ts-ignore - accessing private member for child creation
// @ts-expect-error - accessing private member for child creation
service.logger = childPino;
return service;
}