Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCtxLogger ¶
NewCtxLogger adds new key value pair of {CtxLoggerKey: logrus.FieldLogger} to the requests context
Types ¶
type ResourceTypeLogger ¶
type ResourceTypeLogger struct {
Repository models.JobKeyRepository
}
func (*ResourceTypeLogger) LogJobResourceType ¶
func (rl *ResourceTypeLogger) LogJobResourceType(next http.Handler) http.Handler
type StructuredLogger ¶
type StructuredLogger struct {
Logger logrus.FieldLogger
}
func (*StructuredLogger) NewLogEntry ¶
func (l *StructuredLogger) NewLogEntry(r *http.Request) middleware.LogEntry
type StructuredLoggerEntry ¶
type StructuredLoggerEntry struct {
Logger logrus.FieldLogger
}
Click to show internal directories.
Click to hide internal directories.