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

Function setChildLoggerFactory

fastify.js:787–792  ·  view source on GitHub ↗
(factory)

Source from the content-addressed store, hash-verified

785 }
786
787 function setChildLoggerFactory (factory) {
788 throwIfAlreadyStarted('Cannot call "setChildLoggerFactory"!')
789
790 this[kChildLoggerFactory] = factory
791 return this
792 }
793
794 function printRoutes (opts = {}) {
795 // includeHooks:true - shortcut to include all supported hooks exported by fastify.Hooks

Callers

nothing calls this directly

Calls 1

throwIfAlreadyStartedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…