Documentation ¶
Index ¶
- func Hook() echo.MiddlewareFunc
- type Logger
- func (l Logger) Debugj(j log.JSON)
- func (l Logger) Errorj(j log.JSON)
- func (l Logger) Fatalj(j log.JSON)
- func (l Logger) Infoj(j log.JSON)
- func (l Logger) Level() log.Lvl
- func (l Logger) Output() io.Writer
- func (l Logger) Panicj(j log.JSON)
- func (l Logger) Prefix() string
- func (l Logger) Printj(j log.JSON)
- func (l Logger) SetHeader(header string)
- func (l Logger) SetLevel(lvl log.Lvl)
- func (l Logger) SetOutput(w io.Writer)
- func (l Logger) SetPrefix(s string)
- func (l Logger) Warnj(j log.JSON)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Hook ¶
func Hook() echo.MiddlewareFunc
Hook returns an echo.MiddlewareFunc that logs desired information using the logrus StandardLogger
Types ¶
type Logger ¶
Logger bridges the echo.Logger interface to use sirupsen.Logrus as the implementation
Click to show internal directories.
Click to hide internal directories.