Documentation ¶
Index ¶
- func Debug(msg string)
- func Debugf(format string, a ...any)
- func Error(msg string)
- func Errorf(format string, a ...any)
- func Info(msg string)
- func Infof(format string, a ...any)
- func Warn(msg string)
- func Warnf(format string, a ...any)
- func ZapLog() *zap.Logger
- type Log
- func (l *Log) Debug(msg string)
- func (l *Log) Debugf(format string, a ...any)
- func (l *Log) Error(msg string)
- func (l *Log) Errorf(format string, a ...any)
- func (l *Log) Info(msg string)
- func (l *Log) Infof(format string, a ...any)
- func (l Log) Init() uint8
- func (l *Log) Warn(msg string)
- func (l *Log) Warnf(format string, a ...any)
- type ZapLoggerAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ZapLoggerAdapter ¶
type ZapLoggerAdapter struct {
// contains filtered or unexported fields
}
func NewZapLoggerAdapter ¶
func NewZapLoggerAdapter(logger *zap.Logger, name string) *ZapLoggerAdapter
func (*ZapLoggerAdapter) Error ¶
func (a *ZapLoggerAdapter) Error(err error, msg string, keysAndValues ...interface{})
func (*ZapLoggerAdapter) Info ¶
func (a *ZapLoggerAdapter) Info(msg string, keysAndValues ...interface{})
func (*ZapLoggerAdapter) Printf ¶
func (a *ZapLoggerAdapter) Printf(message string, data ...interface{})
Click to show internal directories.
Click to hide internal directories.