Documentation ¶
Index ¶
- type Logger
- func (l *Logger) Debug(args ...interface{})
- func (l *Logger) DebugWithFields(msg string, KV logger.KV)
- func (l *Logger) Debugf(format string, v ...interface{})
- func (l *Logger) Debugln(args ...interface{})
- func (l *Logger) Error(args ...interface{})
- func (l *Logger) ErrorWithFields(msg string, KV logger.KV)
- func (l *Logger) Errorf(format string, v ...interface{})
- func (l *Logger) Errorln(args ...interface{})
- func (l *Logger) Errors(err error)
- func (l *Logger) Fatal(args ...interface{})
- func (l *Logger) FatalWithFields(msg string, KV logger.KV)
- func (l *Logger) Fatalf(format string, v ...interface{})
- func (l *Logger) Fatalln(args ...interface{})
- func (l *Logger) Info(args ...interface{})
- func (l *Logger) InfoWithFields(msg string, KV logger.KV)
- func (l *Logger) Infof(format string, v ...interface{})
- func (l *Logger) Infoln(args ...interface{})
- func (l *Logger) IsValid() bool
- func (l *Logger) SetLevel(level logger.Level)
- func (l *Logger) StdDebug(requestID string, contextID string, err error, metadata interface{}, ...)
- func (l *Logger) StdDebugf(requestID string, contextID string, err error, metadata interface{}, ...)
- func (l *Logger) StdError(requestID string, contextID string, err error, metadata interface{}, ...)
- func (l *Logger) StdErrorf(requestID string, contextID string, err error, metadata interface{}, ...)
- func (l *Logger) StdFatal(requestID string, contextID string, err error, metadata interface{}, ...)
- func (l *Logger) StdFatalf(requestID string, contextID string, err error, metadata interface{}, ...)
- func (l *Logger) StdInfo(requestID string, contextID string, err error, metadata interface{}, ...)
- func (l *Logger) StdInfof(requestID string, contextID string, err error, metadata interface{}, ...)
- func (l *Logger) StdTrace(requestID string, contextID string, err error, metadata interface{}, ...)
- func (l *Logger) StdTracef(requestID string, contextID string, err error, metadata interface{}, ...)
- func (l *Logger) StdWarn(requestID string, contextID string, err error, metadata interface{}, ...)
- func (l *Logger) StdWarnf(requestID string, contextID string, err error, metadata interface{}, ...)
- func (l *Logger) Warn(args ...interface{})
- func (l *Logger) WarnWithFields(msg string, KV logger.KV)
- func (l *Logger) Warnf(format string, v ...interface{})
- func (l *Logger) Warnln(args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger struct
func (*Logger) DebugWithFields ¶
DebugWithFields function
func (*Logger) ErrorWithFields ¶
ErrorWithFields function
func (*Logger) FatalWithFields ¶
FatalWithFields function
func (*Logger) InfoWithFields ¶
InfoWithFields function
func (*Logger) StdDebug ¶
func (l *Logger) StdDebug(requestID string, contextID string, err error, metadata interface{}, message string)
StdDebug zerolog implementation for trace level log
func (*Logger) StdDebugf ¶
func (l *Logger) StdDebugf(requestID string, contextID string, err error, metadata interface{}, format string, args ...interface{})
StdDebugf zerolog implementation for trace level log
func (*Logger) StdError ¶
func (l *Logger) StdError(requestID string, contextID string, err error, metadata interface{}, message string)
StdError zerolog implementation for trace level log
func (*Logger) StdErrorf ¶
func (l *Logger) StdErrorf(requestID string, contextID string, err error, metadata interface{}, format string, args ...interface{})
StdErrorf zerolog implementation for trace level log
func (*Logger) StdFatal ¶
func (l *Logger) StdFatal(requestID string, contextID string, err error, metadata interface{}, message string)
StdFatal zerolog implementation for trace level log
func (*Logger) StdFatalf ¶
func (l *Logger) StdFatalf(requestID string, contextID string, err error, metadata interface{}, format string, args ...interface{})
StdFatalf zerolog implementation for trace level log
func (*Logger) StdInfo ¶
func (l *Logger) StdInfo(requestID string, contextID string, err error, metadata interface{}, message string)
StdInfo zerolog implementation for trace level log
func (*Logger) StdInfof ¶
func (l *Logger) StdInfof(requestID string, contextID string, err error, metadata interface{}, format string, args ...interface{})
StdInfof zerolog implementation for trace level log
func (*Logger) StdTrace ¶
func (l *Logger) StdTrace(requestID string, contextID string, err error, metadata interface{}, message string)
StdTrace zerolog implementation for trace level log
func (*Logger) StdTracef ¶
func (l *Logger) StdTracef(requestID string, contextID string, err error, metadata interface{}, format string, args ...interface{})
StdTracef zerolog implementation for trace level log
func (*Logger) StdWarn ¶
func (l *Logger) StdWarn(requestID string, contextID string, err error, metadata interface{}, message string)
StdWarn zerolog implementation for trace level log
func (*Logger) StdWarnf ¶
func (l *Logger) StdWarnf(requestID string, contextID string, err error, metadata interface{}, format string, args ...interface{})
StdWarnf zerolog implementation for trace level log
func (*Logger) WarnWithFields ¶
WarnWithFields function