Documentation ¶
Index ¶
- func Debug() *zerolog.Event
- func Debugf(format string, v ...interface{})
- func Err(err error) *zerolog.Event
- func Error() *zerolog.Event
- func Errorf(format string, v ...interface{})
- func Fatal() *zerolog.Event
- func Fatalf(format string, v ...interface{})
- func GinLogger() gin.HandlerFunc
- func Info() *zerolog.Event
- func Infof(format string, v ...interface{})
- func Init(opfs ...func(opt *Option)) error
- func KratosLogger() *loggerSt
- func Logger() *zerolog.Logger
- func Panic() *zerolog.Event
- func Panicf(format string, v ...interface{})
- func Sync()
- func Warn() *zerolog.Event
- func Warnf(format string, v ...interface{})
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GinLogger ¶ added in v0.4.2
func GinLogger() gin.HandlerFunc
func KratosLogger ¶ added in v0.4.8
func KratosLogger() *loggerSt
Types ¶
Click to show internal directories.
Click to hide internal directories.