The default logger interface expects Tracef to be implemented by any logger passed, however for people using zap logger we have to go through extra steps to be able to pass a sugared logger as the logger to use. Since Tracef is not actually used in any part of the codebase, I think it is safe to remove from the interface.
The default logger interface expects
Tracef
to be implemented by any logger passed, however for people usingzap
logger we have to go through extra steps to be able to pass a sugared logger as the logger to use. SinceTracef
is not actually used in any part of the codebase, I think it is safe to remove from the interface.