Documentation ¶
Index ¶
- func GetLogEntry(r *http.Request) logr.Logger
- func LogEntrySetField(r *http.Request, key string, value interface{})
- func LogEntrySetFields(r *http.Request, keysAndValues ...interface{})
- func NewLogger(log logr.Logger, geodb *geoip2.Reader) func(next http.Handler) http.Handler
- type Logger
- type LogrEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogEntrySetField ¶
func LogEntrySetFields ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) NewLogEntry ¶
func (l *Logger) NewLogEntry(r *http.Request) middleware.LogEntry
Click to show internal directories.
Click to hide internal directories.