Documentation ¶
Index ¶
- func Debug(f interface{}, args ...interface{})
- func Debugln(v ...interface{})
- func Error(f interface{}, args ...interface{})
- func Errorln(args ...interface{})
- func Fatal(f interface{}, args ...interface{})
- func Fatalln(args ...interface{})
- func GetLogger() *logrus.Logger
- func Info(f interface{}, args ...interface{})
- func Infoln(args ...interface{})
- func Logger(log *logrus.Logger) gin.HandlerFunc
- func New(logger *logrus.Logger, skipPaths ...string) gin.HandlerFunc
- func NewLogger() *logrus.Logger
- func Panic(f interface{}, args ...interface{})
- func Panicln(args ...interface{})
- func Printf(f interface{}, args ...interface{})
- func Printfln(args ...interface{})
- func Warn(f interface{}, args ...interface{})
- func Warnln(args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(logger *logrus.Logger, skipPaths ...string) gin.HandlerFunc
New returns a gin compatable middleware using logrus to logs skipPaths only skips the INFO loglevel
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.