Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZapAdapter ¶
type ZapAdapter struct {
// contains filtered or unexported fields
}
ZapAdapter wraps a zap.SugaredLogger so it satisfies the core.Logger interface.
func NewZapAdapter ¶
func NewZapAdapter(s *zap.SugaredLogger) *ZapAdapter
NewZapAdapter constructs a ZapAdapter from the provided sugared logger.
func (*ZapAdapter) Debug ¶
func (z *ZapAdapter) Debug(msg string, kv ...any)
func (*ZapAdapter) Error ¶
func (z *ZapAdapter) Error(msg string, kv ...any)
func (*ZapAdapter) Info ¶
func (z *ZapAdapter) Info(msg string, kv ...any)
func (*ZapAdapter) Warn ¶
func (z *ZapAdapter) Warn(msg string, kv ...any)
Click to show internal directories.
Click to hide internal directories.