Documentation
¶
Index ¶
- Constants
- func DPanicf(format string, args ...interface{})
- func DPanicw(msg string, keysAndValues ...interface{})
- func Debugf(format string, args ...interface{})
- func Debugw(msg string, keysAndValues ...interface{})
- func Errorf(format string, args ...interface{})
- func Errorw(msg string, keysAndValues ...interface{})
- func Fatalf(format string, args ...interface{})
- func Fatalw(msg string, keysAndValues ...interface{})
- func Infof(format string, args ...interface{})
- func Infow(msg string, keysAndValues ...interface{})
- func Init(config *Config)
- func Panicf(format string, args ...interface{})
- func Panicw(msg string, keysAndValues ...interface{})
- func Warnf(format string, args ...interface{})
- func Warnw(msg string, keysAndValues ...interface{})
- func Zap() *zap.Logger
- type Config
- type Fields
- type Logger
- func (l *Logger) DPanicf(format string, args ...interface{})
- func (l *Logger) DPanicw(msg string, keysAndValues ...interface{})
- func (l *Logger) Debugf(format string, args ...interface{})
- func (l *Logger) Debugw(msg string, keysAndValues ...interface{})
- func (l *Logger) Errorf(format string, args ...interface{})
- func (l *Logger) Errorw(msg string, keysAndValues ...interface{})
- func (l *Logger) Fatalf(format string, args ...interface{})
- func (l *Logger) Fatalw(msg string, keysAndValues ...interface{})
- func (l *Logger) Infof(format string, args ...interface{})
- func (l *Logger) Infow(msg string, keysAndValues ...interface{})
- func (l *Logger) Panicf(format string, args ...interface{})
- func (l *Logger) Panicw(msg string, keysAndValues ...interface{})
- func (l *Logger) Warnf(format string, args ...interface{})
- func (l *Logger) Warnw(msg string, keysAndValues ...interface{})
- func (l *Logger) Zap() *zap.Logger
Constants ¶
View Source
const ( HTTPMethod = "http.request.method" HTTPReqBody = "http.request.body.content" HTTPStatusCode = "http.response.status_code" HTTPResBody = "http.response.body.content" SrcAddr = "source.address" DstAddr = "destination.address" UserAgent = "user_agent.original" URLOriginal = "url.original" URLPath = "url.path" URLQuery = "url.query" )
View Source
const ( DebugLevel = "debug" InfoLevel = "info" WarnLevel = "warn" ErrorLevel = "error" FatalLevel = "fatal" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.