Documentation ¶
Index ¶
- func InitializeLogger() mlog.Logger
- type ZapLogger
- func (l *ZapLogger) Debug(args ...any)
- func (l *ZapLogger) Debugf(format string, args ...any)
- func (l *ZapLogger) Debugln(args ...any)
- func (l *ZapLogger) Error(args ...any)
- func (l *ZapLogger) Errorf(format string, args ...any)
- func (l *ZapLogger) Errorln(args ...any)
- func (l *ZapLogger) Fatal(args ...any)
- func (l *ZapLogger) Fatalf(format string, args ...any)
- func (l *ZapLogger) Fatalln(args ...any)
- func (l *ZapLogger) Info(args ...any)
- func (l *ZapLogger) Infof(format string, args ...any)
- func (l *ZapLogger) Infoln(args ...any)
- func (l *ZapLogger) Warn(args ...any)
- func (l *ZapLogger) Warnf(format string, args ...any)
- func (l *ZapLogger) Warnln(args ...any)
- func (l *ZapLogger) WithFields(fields ...any) mlog.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeLogger ¶
InitializeLogger initializes our log layer and returns it
Types ¶
type ZapLogger ¶
type ZapLogger struct {
Logger *zap.SugaredLogger
}
ZapLogger is a wrapper of zap.SugaredLogger.
Click to show internal directories.
Click to hide internal directories.