Documentation
¶
Index ¶
- func AccessDebug(ctx *gin.Context, args ...any)
- func AccessDebugf(ctx *gin.Context, format string, args ...any)
- func AccessLogf(format string, args ...any)
- func AccessWarning(ctx *gin.Context, args ...any)
- func AccessWarningf(ctx *gin.Context, format string, args ...any)
- func Debug(args ...any)
- func Debugf(format string, args ...any)
- func Error(args ...any)
- func Errorf(format string, args ...any)
- func Info(args ...any)
- func Infof(format string, args ...any)
- func Init()
- func SetLevel(level logrus.Level)
- func Warning(args ...any)
- func Warningf(format string, args ...any)
- type LoggerAccessFormatter
- type LoggerFileHook
- type LoggerServiceFormatter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessDebug ¶
func AccessWarning ¶
Types ¶
type LoggerAccessFormatter ¶
type LoggerAccessFormatter struct{}
type LoggerFileHook ¶
type LoggerFileHook struct {
// contains filtered or unexported fields
}
func NewLoggerFileHook ¶
func NewLoggerFileHook(isService bool) *LoggerFileHook
func (*LoggerFileHook) Levels ¶
func (h *LoggerFileHook) Levels() []logrus.Level
type LoggerServiceFormatter ¶
type LoggerServiceFormatter struct{}
Click to show internal directories.
Click to hide internal directories.