Documentation ¶
Index ¶
- Constants
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func For(ctx context.Context, args ...interface{}) *zap.SugaredLogger
- func GinLogger() gin.HandlerFunc
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func Init(level string)
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- type OrmLogger
Constants ¶
View Source
const (
TraceIDKey = "trace_id"
)
Variables ¶
This section is empty.
Functions ¶
func GinLogger ¶
func GinLogger() gin.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.