Documentation ¶
Index ¶
- func MauAsZero(log maulogger.Logger) *zerolog.Logger
- func ZeroAsMau(log *zerolog.Logger) maulogger.Logger
- type MauZeroLog
- func (m MauZeroLog) Debug(parts ...interface{})
- func (m MauZeroLog) Debugf(message string, args ...interface{})
- func (m MauZeroLog) Debugfln(message string, args ...interface{})
- func (m MauZeroLog) Debugln(parts ...interface{})
- func (m MauZeroLog) Error(parts ...interface{})
- func (m MauZeroLog) Errorf(message string, args ...interface{})
- func (m MauZeroLog) Errorfln(message string, args ...interface{})
- func (m MauZeroLog) Errorln(parts ...interface{})
- func (m MauZeroLog) Fatal(parts ...interface{})
- func (m MauZeroLog) Fatalf(message string, args ...interface{})
- func (m MauZeroLog) Fatalfln(message string, args ...interface{})
- func (m MauZeroLog) Fatalln(parts ...interface{})
- func (m MauZeroLog) GetParent() maulogger.Logger
- func (m MauZeroLog) Info(parts ...interface{})
- func (m MauZeroLog) Infof(message string, args ...interface{})
- func (m MauZeroLog) Infofln(message string, args ...interface{})
- func (m MauZeroLog) Infoln(parts ...interface{})
- func (m MauZeroLog) Log(level maulogger.Level, parts ...interface{})
- func (m MauZeroLog) Logf(level maulogger.Level, message string, args ...interface{})
- func (m MauZeroLog) Logfln(level maulogger.Level, message string, args ...interface{})
- func (m MauZeroLog) Logln(level maulogger.Level, parts ...interface{})
- func (m MauZeroLog) Sub(module string) maulogger.Logger
- func (m MauZeroLog) Subm(module string, metadata map[string]interface{}) maulogger.Logger
- func (m MauZeroLog) Warn(parts ...interface{})
- func (m MauZeroLog) Warnf(message string, args ...interface{})
- func (m MauZeroLog) Warnfln(message string, args ...interface{})
- func (m MauZeroLog) Warnln(parts ...interface{})
- func (m MauZeroLog) WithDefaultLevel(_ maulogger.Level) maulogger.Logger
- func (m MauZeroLog) Writer(level maulogger.Level) io.WriteCloser
- type ZeroMauLog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MauZeroLog ¶
func (MauZeroLog) Debug ¶
func (m MauZeroLog) Debug(parts ...interface{})
func (MauZeroLog) Debugf ¶
func (m MauZeroLog) Debugf(message string, args ...interface{})
func (MauZeroLog) Debugfln ¶
func (m MauZeroLog) Debugfln(message string, args ...interface{})
func (MauZeroLog) Debugln ¶
func (m MauZeroLog) Debugln(parts ...interface{})
func (MauZeroLog) Error ¶
func (m MauZeroLog) Error(parts ...interface{})
func (MauZeroLog) Errorf ¶
func (m MauZeroLog) Errorf(message string, args ...interface{})
func (MauZeroLog) Errorfln ¶
func (m MauZeroLog) Errorfln(message string, args ...interface{})
func (MauZeroLog) Errorln ¶
func (m MauZeroLog) Errorln(parts ...interface{})
func (MauZeroLog) Fatal ¶
func (m MauZeroLog) Fatal(parts ...interface{})
func (MauZeroLog) Fatalf ¶
func (m MauZeroLog) Fatalf(message string, args ...interface{})
func (MauZeroLog) Fatalfln ¶
func (m MauZeroLog) Fatalfln(message string, args ...interface{})
func (MauZeroLog) Fatalln ¶
func (m MauZeroLog) Fatalln(parts ...interface{})
func (MauZeroLog) GetParent ¶
func (m MauZeroLog) GetParent() maulogger.Logger
func (MauZeroLog) Info ¶
func (m MauZeroLog) Info(parts ...interface{})
func (MauZeroLog) Infof ¶
func (m MauZeroLog) Infof(message string, args ...interface{})
func (MauZeroLog) Infofln ¶
func (m MauZeroLog) Infofln(message string, args ...interface{})
func (MauZeroLog) Infoln ¶
func (m MauZeroLog) Infoln(parts ...interface{})
func (MauZeroLog) Log ¶
func (m MauZeroLog) Log(level maulogger.Level, parts ...interface{})
func (MauZeroLog) Logf ¶
func (m MauZeroLog) Logf(level maulogger.Level, message string, args ...interface{})
func (MauZeroLog) Logfln ¶
func (m MauZeroLog) Logfln(level maulogger.Level, message string, args ...interface{})
func (MauZeroLog) Logln ¶
func (m MauZeroLog) Logln(level maulogger.Level, parts ...interface{})
func (MauZeroLog) Sub ¶
func (m MauZeroLog) Sub(module string) maulogger.Logger
func (MauZeroLog) Subm ¶
func (m MauZeroLog) Subm(module string, metadata map[string]interface{}) maulogger.Logger
func (MauZeroLog) Warn ¶
func (m MauZeroLog) Warn(parts ...interface{})
func (MauZeroLog) Warnf ¶
func (m MauZeroLog) Warnf(message string, args ...interface{})
func (MauZeroLog) Warnfln ¶
func (m MauZeroLog) Warnfln(message string, args ...interface{})
func (MauZeroLog) Warnln ¶
func (m MauZeroLog) Warnln(parts ...interface{})
func (MauZeroLog) WithDefaultLevel ¶
func (m MauZeroLog) WithDefaultLevel(_ maulogger.Level) maulogger.Logger
func (MauZeroLog) Writer ¶
func (m MauZeroLog) Writer(level maulogger.Level) io.WriteCloser
type ZeroMauLog ¶
type ZeroMauLog struct {
maulogger.Logger
}
ZeroMauLog is a simple wrapper for a maulogger that can be set as the output writer for zerolog.
func (*ZeroMauLog) WriteLevel ¶
Click to show internal directories.
Click to hide internal directories.