Documentation ¶
Index ¶
- Variables
- func DPanic(message string, fields ...zap.Field)
- func Debug(message string, fields ...zap.Field)
- func Error(message string, fields ...zap.Field)
- func Fatal(message string, fields ...zap.Field)
- func Info(message string, fields ...zap.Field)
- func Init(multi bool)
- func InitWithMultiLevelOutPut()
- func InitWithSingleLevelOutput()
- func NewCustomEncoderConfig() zapcore.EncoderConfig
- func Panic(message string, fields ...zap.Field)
- func SDPanic(args ...interface{})
- func SDPanicf(template string, args ...interface{})
- func SDPanicw(msg string, keysAndValues ...interface{})
- func SDebug(args ...interface{})
- func SDebugf(template string, args ...interface{})
- func SDebugw(msg string, keysAndValues ...interface{})
- func SError(args ...interface{})
- func SErrorf(template string, args ...interface{})
- func SErrorw(msg string, keysAndValues ...interface{})
- func SFatal(args ...interface{})
- func SFatalf(template string, args ...interface{})
- func SFatalw(msg string, keysAndValues ...interface{})
- func SInfo(args ...interface{})
- func SInfof(template string, args ...interface{})
- func SInfow(msg string, keysAndValues ...interface{})
- func SPanic(args ...interface{})
- func SPanicf(template string, args ...interface{})
- func SPanicw(msg string, keysAndValues ...interface{})
- func SWarn(args ...interface{})
- func SWarnf(template string, args ...interface{})
- func SWarnw(msg string, keysAndValues ...interface{})
- func Warn(message string, fields ...zap.Field)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Slogger *zap.SugaredLogger
)
Functions ¶
func InitWithMultiLevelOutPut ¶
func InitWithMultiLevelOutPut()
func InitWithSingleLevelOutput ¶
func InitWithSingleLevelOutput()
func NewCustomEncoderConfig ¶
func NewCustomEncoderConfig() zapcore.EncoderConfig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.