Description
Currently there is some boilerplate code that checks whether a logger or a metric scope has been provided to the work units. Instead, this code can be simplified if the "no operation" type from zap ( zap.NewNop() ) and tally ( tally.NoopScope ).
Description
Currently there is some boilerplate code that checks whether a logger or a metric scope has been provided to the work units. Instead, this code can be simplified if the "no operation" type from
zap(zap.NewNop()) andtally(tally.NoopScope).