(logger, bindings, opts)
| 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 |