Documentation ¶
Index ¶
- func Debug(msg string)
- func Debugf(msg string, args ...interface{})
- func Debugw(msg string, fields ...Field)
- func Error(err error)
- func Errorf(msg string, args ...interface{})
- func Errorw(msg string, fields ...Field)
- func Fatal(msg string)
- func Fatalf(msg string, args ...interface{})
- func Fatalw(msg string, fields ...Field)
- func GetStack(err error) string
- func Info(msg string)
- func Infof(msg string, args ...interface{})
- func Infow(msg string, fields ...Field)
- func MustUpSet(c *Conf)
- func Panic(msg string)
- func Panicf(msg string, args ...interface{})
- func Panicw(msg string, fields ...Field)
- func ToMap(fields ...Field) map[string]interface{}
- func Warn(msg string)
- func Warnf(msg string, args ...interface{})
- func Warnw(msg string, fields ...Field)
- type Conf
- type Field
- type GinCn
- type Level
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Level ¶
type Level int8
const ( LevelDebug Level = Level(zerolog.DebugLevel) InfoLevel Level = Level(zerolog.InfoLevel) WarnLevel Level = Level(zerolog.WarnLevel) ErrorLevel Level = Level(zerolog.ErrorLevel) FatalLevel Level = Level(zerolog.FatalLevel) PanicLevel Level = Level(zerolog.PanicLevel) NoLevel Level = Level(zerolog.NoLevel) Disabled Level = Level(zerolog.Disabled) TraceLevel Level = Level(zerolog.TraceLevel) )
Click to show internal directories.
Click to hide internal directories.