MCPcopy Create free account
hub / github.com/middleapi/orpc / child

Method child

packages/pino/src/handler-plugin.test.ts:25–28  ·  view source on GitHub ↗
(opts: any)

Source from the content-addressed store, hash-verified

23 }
24
25 child(opts: any) {
26 globalSpies.child(opts)
27 return new FakeLogger({ ...this._bindings, ...opts }, this.childDeep + 1)
28 }
29
30 info(...args: any[]) {
31 expect(this.childDeep).toBeGreaterThan(0) // Ensure child logger is used

Callers 1

initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected