FastifyChildLoggerFactory Type — fastify Architecture
Architecture documentation for the FastifyChildLoggerFactory type/interface in logger.d.ts from the fastify codebase.
Entity Profile
Dependency Diagram
graph TD f8a05e9e_e4bd_2949_b1cc_aa3ab3898f05["FastifyChildLoggerFactory"] 08af481b_2f35_3710_fb1d_f29fa2ef8473["logger.d.ts"] f8a05e9e_e4bd_2949_b1cc_aa3ab3898f05 -->|defined in| 08af481b_2f35_3710_fb1d_f29fa2ef8473 style f8a05e9e_e4bd_2949_b1cc_aa3ab3898f05 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
types/logger.d.ts lines 85–107
export interface FastifyChildLoggerFactory<
RawServer extends RawServerBase = RawServerDefault,
RawRequest extends RawRequestDefaultExpression<RawServer> = RawRequestDefaultExpression<RawServer>,
RawReply extends RawReplyDefaultExpression<RawServer> = RawReplyDefaultExpression<RawServer>,
Logger extends FastifyBaseLogger = FastifyBaseLogger,
TypeProvider extends FastifyTypeProvider = FastifyTypeProviderDefault
> {
/**
* @param logger The parent logger
* @param bindings The bindings object that will be passed to the child logger
* @param childLoggerOpts The logger options that will be passed to the child logger
* @param rawReq The raw request
* @this The fastify instance
* @returns The child logger instance
*/
(
this: FastifyInstance<RawServer, RawRequest, RawReply, Logger, TypeProvider>,
logger: Logger,
bindings: Bindings,
childLoggerOpts: ChildLoggerOptions,
rawReq: RawRequest
): Logger
}
Defined In
Source
Frequently Asked Questions
What is the FastifyChildLoggerFactory type?
FastifyChildLoggerFactory is a type/interface in the fastify codebase, defined in types/logger.d.ts.
Where is FastifyChildLoggerFactory defined?
FastifyChildLoggerFactory is defined in types/logger.d.ts at line 85.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free