MCPcopy
hub / github.com/fastify/fastify / child

Method child

types/logger.d.ts:28–28  ·  view source on GitHub ↗
(bindings: Bindings, options?: ChildLoggerOptions)

Source from the content-addressed store, hash-verified

26
27export interface FastifyBaseLogger extends Pick<BaseLogger, 'level' | 'info' | 'error' | 'debug' | 'fatal' | 'warn' | 'trace' | 'silent'> {
28 child(bindings: Bindings, options?: ChildLoggerOptions): FastifyBaseLogger
29}
30
31// TODO delete FastifyLoggerInstance in the next major release. It seems that it is enough to have only FastifyBaseLogger.

Callers 15

createPinoLoggerFunction · 0.65
customRouteChildLoggerFunction · 0.65
inPluginLoggerFactoryFunction · 0.65
customRouteChildLoggerFunction · 0.65
customGlobalChildLoggerFunction · 0.65
logger.tst.tsFile · 0.65
route.tst.tsFile · 0.65
instance.tst.tsFile · 0.65
childLoggerFactoryFunction · 0.65

Implementers 1

CustomLoggerImpltest/types/logger.tst.ts

Calls

no outgoing calls

Tested by 4

customRouteChildLoggerFunction · 0.52
inPluginLoggerFactoryFunction · 0.52
customRouteChildLoggerFunction · 0.52
customGlobalChildLoggerFunction · 0.52