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

Function setChildLoggerFactory

fastify.js:787–792  ·  fastify.js::setChildLoggerFactory
(factory)

Source from the content-addressed store, hash-verified

785 }
786
787 function setChildLoggerFactory (factory) {
788 throwIfAlreadyStarted(class="st">'Cannot call "setChildLoggerFactory"!')
789
790 this[kChildLoggerFactory] = factory
791 return this
792 }
793
794 function printRoutes (opts = {}) {
795 class="cm">// 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