Documentation
¶
Index ¶
- Variables
- func Set(l Logger)
- type Autopilot
- type Common
- type Log
- func (l *Log) Debug(msg string, fields ...zap.Field)
- func (l *Log) Debugf(msg string, args ...interface{})
- func (l *Log) Error(msg string, fields ...zap.Field)
- func (l *Log) Errorf(msg string, args ...interface{})
- func (l *Log) Info(msg string, fields ...zap.Field)
- func (l *Log) Infof(msg string, args ...interface{})
- func (l *Log) Warn(msg string, fields ...zap.Field)
- func (l *Log) Warnf(msg string, args ...interface{})
- type LogHelper
- type Logger
- type Settings
Constants ¶
This section is empty.
Variables ¶
View Source
var ENCODER_CONFIG zapcore.EncoderConfig
Functions ¶
Types ¶
type Autopilot ¶
func NewAutopilot ¶
type LogHelper ¶
type LogHelper struct {
// contains filtered or unexported fields
}
func (*LogHelper) LogFormatMapIndented ¶
func (*LogHelper) LogJsonLogEntry ¶
type Logger ¶
type Logger interface { Debug(msg string, fields ...zap.Field) Debugf(msg string, args ...interface{}) Info(msg string, fields ...zap.Field) Infof(msg string, args ...interface{}) Warn(msg string, fields ...zap.Field) Warnf(msg string, args ...interface{}) Error(msg string, fields ...zap.Field) Errorf(msg string, args ...interface{}) }
Click to show internal directories.
Click to hide internal directories.