zap
zap copied to clipboard
can't use otelzap as logger for Ginzap
otelzap is a OpenTelemetry instrumentations for zap logger.
as Ginzap
want actually zap.Logger
, we can't use the otelzap one,
the fix is actually simple, use interface instead of the zap.Logger
struct.