Documentation ¶
Index ¶
- type Logger
- func (l *Logger) Close()
- func (l *Logger) Debug(format string, a ...interface{})
- func (l *Logger) DebugCtx(pCtx *ctx.MessageProcessingContext, format string, a ...interface{})
- func (l *Logger) Error(format string, a ...interface{})
- func (l *Logger) ErrorCtx(pCtx *ctx.MessageProcessingContext, format string, a ...interface{})
- func (l *Logger) Info(format string, a ...interface{})
- func (l *Logger) InfoCtx(pCtx *ctx.MessageProcessingContext, format string, a ...interface{})
- func (logger *Logger) PopF()
- func (logger *Logger) PushF(functionName string)
- func (l *Logger) Warn(format string, a ...interface{})
- func (l *Logger) WarnCtx(pCtx *ctx.MessageProcessingContext, format string, a ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct { Logger *zap.Logger ZapMachine zapcore.Field ZapThread zapcore.Field SavedZapConfig zap.Config AtomicThreadCounter *int64 ZapFunction zapcore.Field FunctionStack []string }
func NewLoggerFromEnvConfig ¶
func NewLoggerFromLogger ¶
func (*Logger) DebugCtx ¶
func (l *Logger) DebugCtx(pCtx *ctx.MessageProcessingContext, format string, a ...interface{})
func (*Logger) ErrorCtx ¶
func (l *Logger) ErrorCtx(pCtx *ctx.MessageProcessingContext, format string, a ...interface{})
Click to show internal directories.
Click to hide internal directories.