Priority: MED
Package: @saga-ed/soa-logger
Coach ref: hipponot/nimbee#8035
The ILogger interface has no child() method. Per-request loggers with bound context (e.g., requestId) cannot be created. All downstream service/data layer logs lack request correlation.
Requested changes:
- Add
child(bindings: Record<string, unknown>): ILogger to the ILogger interface
- Implement in
PinoLogger (Pino natively supports logger.child())
Combined with AsyncLocalStorage, this enables automatic request correlation across the entire call stack without threading logger instances manually.
Priority: MED
Package:
@saga-ed/soa-loggerCoach ref: hipponot/nimbee#8035
The
ILoggerinterface has nochild()method. Per-request loggers with bound context (e.g.,requestId) cannot be created. All downstream service/data layer logs lack request correlation.Requested changes:
child(bindings: Record<string, unknown>): ILoggerto theILoggerinterfacePinoLogger(Pino natively supportslogger.child())Combined with
AsyncLocalStorage, this enables automatic request correlation across the entire call stack without threading logger instances manually.