Documentation ¶
Index ¶
- Constants
- func Backend(logLevel string) (*zap.Logger, error)
- func Console(logLevel string, logPath string) (*zap.Logger, error)
- func DefaultLogLevel() string
- func Error(msg string, fields ...zap.Field)
- func Errorf(template string, args ...interface{})
- func Info(msg string, fields ...zap.Field)
- func Infof(template string, args ...interface{})
- func Logger() *zap.Logger
- func Warn(msg string, fields ...zap.Field)
- func Warnf(template string, args ...interface{})
- func WrapperSentry(l *zap.Logger) (*zap.Logger, error)
Constants ¶
View Source
const XRequestId = "X-Request-ID"
Variables ¶
This section is empty.
Functions ¶
func DefaultLogLevel ¶
func DefaultLogLevel() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.