zap icon indicating copy to clipboard operation
zap copied to clipboard

can't use otelzap as logger for Ginzap

Open a5r0n opened this issue 2 years ago • 0 comments

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.

a5r0n avatar Aug 20 '22 23:08 a5r0n