Documentation ¶
Index ¶
- func ContextWithDebugLog(ctx context.Context, debugLog Logger) context.Context
- func ContextWithErrLog(ctx context.Context, errLog Logger) context.Context
- func ContextWithInfoLog(ctx context.Context, infoLog Logger) context.Context
- func ContextWithSessionDebugLog(ctx context.Context, debugLog Logger) context.Context
- func DebugMiddleware() func(http.Handler) http.Handler
- type IdentifyingLogger
- type Logger
- type LoggerFunc
- type LoggingRoundTripper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithDebugLog ¶
func ContextWithInfoLog ¶
Types ¶
type IdentifyingLogger ¶
type IdentifyingLogger struct { Logger // contains filtered or unexported fields }
func (IdentifyingLogger) String ¶
func (i IdentifyingLogger) String() string
type LoggerFunc ¶
type LoggerFunc func(...interface{}) error
func (LoggerFunc) Log ¶
func (f LoggerFunc) Log(keyvals ...interface{}) error
type LoggingRoundTripper ¶
type LoggingRoundTripper struct { http.RoundTripper Logger Logger }
Click to show internal directories.
Click to hide internal directories.