Documentation ¶
Index ¶
- func Get(r *http.Request) *logrus.Entry
- func Middleware(env string, sensitiveFields []string) mux.MiddlewareFunc
- func New(env string) *logrus.Logger
- func NewGormLogger(log *logrus.Logger, gormLoggerConfig *logger.Config) *logger.Interface
- func SetInRequest(r *http.Request, l *logrus.Entry) *http.Request
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware(env string, sensitiveFields []string) mux.MiddlewareFunc
func NewGormLogger ¶
Gorm logging helper
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.