MCPcopy
hub / github.com/fastify/fastify / setChildLoggerFactory

Method setChildLoggerFactory

types/instance.d.ts:505–505  ·  view source on GitHub ↗

* Hook function that is called when creating a child logger instance for each request * which allows for modifying or adding child logger bindings and logger options, or * returning a completely custom child logger implementation. * * Child logger bindings have a performance advantage ov

(factory: FastifyChildLoggerFactory<RawServer, RawRequest, RawReply, Logger, TypeProvider>)

Source from the content-addressed store, hash-verified

503 * ```
504 */
505 setChildLoggerFactory(factory: FastifyChildLoggerFactory<RawServer, RawRequest, RawReply, Logger, TypeProvider>): FastifyInstance<RawServer, RawRequest, RawReply, Logger, TypeProvider>;
506
507 /**
508 * Fastify schema validator for all routes.

Calls

no outgoing calls

Tested by

no test coverage detected