Function
childLoggerFactory
(
this: FastifyInstance,
logger: FastifyBaseLogger,
bindings: Bindings,
opts: ChildLoggerOptions,
req: RawRequestDefaultExpression
)
Source from the content-addressed store, hash-verified
| 290 | ).type.toBe<FastifyInstance>() |
| 291 | |
| 292 | function childLoggerFactory ( |
| 293 | this: FastifyInstance, |
| 294 | logger: FastifyBaseLogger, |
| 295 | bindings: Bindings, |
| 296 | opts: ChildLoggerOptions, |
| 297 | req: RawRequestDefaultExpression |
| 298 | ) { |
| 299 | return logger.child(bindings, opts) |
| 300 | } |
| 301 | server.setChildLoggerFactory(childLoggerFactory) |
| 302 | server.setChildLoggerFactory(server.childLoggerFactory) |
| 303 | |
Callers
nothing calls this directly
Tested by
no test coverage detected