Documentation
¶
Index ¶
- func GetLogEntry(r *http.Request) log.FieldLogger
- func GetLogtrailByCtx(ctx context.Context) log.FieldLogger
- func LogEntrySetField(r *http.Request, key string, value interface{})
- func LogEntrySetFields(r *http.Request, fields map[string]interface{})
- func Logtrail(ctx context.Context, key string, userId string, oldValue, newValue interface{})
- func MakeLogEntry(action string) (l *log.Entry)
- func RequestLogger(logger *log.Logger) func(next http.Handler) http.Handler
- func RequestLoggerWithBody(logger *log.Logger, blacklistKeys []string) func(next http.Handler) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLogEntry ¶
func GetLogEntry(r *http.Request) log.FieldLogger
func GetLogtrailByCtx ¶
func GetLogtrailByCtx(ctx context.Context) log.FieldLogger
func LogEntrySetField ¶
func LogEntrySetFields ¶
func MakeLogEntry ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.