MCPcopy
hub / github.com/fastify/fastify / inPluginLoggerFactory

Function inPluginLoggerFactory

test/fastify-instance.test.js:119–121  ·  view source on GitHub ↗
(logger, bindings, opts)

Source from the content-addressed store, hash-verified

117
118 fastify.register((instance, opts, done) => {
119 const inPluginLoggerFactory = function (logger, bindings, opts) {
120 return logger.child(bindings, opts)
121 }
122
123 instance.setChildLoggerFactory(inPluginLoggerFactory)
124

Callers

nothing calls this directly

Calls 1

childMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…