Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gofiber/fiber
/ WithContext
Method
WithContext
log/log.go:86–86 ·
view source on GitHub ↗
WithContext returns a new logger with the given context.
(ctx any)
Source
from the content-addressed store, hash-verified
84
85
// WithContext returns a new logger with the given context.
86
WithContext(ctx any) CommonLogger
87
}
88
89
// Level defines the priority of a log message.
Callers
9
Test_CSRFLogContextTagRedactsToken
Function · 0.65
Test_LocalContextFromHTTPRequest
Function · 0.65
Test_HTTPMiddleware
Function · 0.65
Test_FiberHandler_WithUnixSocket
Function · 0.65
Test_SessionLogContextTagRedactsSessionID
Function · 0.65
Test_RequestID_LogWithContextFormat
Function · 0.65
Test_BasicAuthLogContextTagWritesUsername
Function · 0.65
Test_LogContextTagRedactsToken
Function · 0.65
WithContext
Function · 0.65
Implementers
1
defaultLogger
log/default.go
Calls
no outgoing calls
Tested by
8
Test_CSRFLogContextTagRedactsToken
Function · 0.52
Test_LocalContextFromHTTPRequest
Function · 0.52
Test_HTTPMiddleware
Function · 0.52
Test_FiberHandler_WithUnixSocket
Function · 0.52
Test_SessionLogContextTagRedactsSessionID
Function · 0.52
Test_RequestID_LogWithContextFormat
Function · 0.52
Test_BasicAuthLogContextTagWritesUsername
Function · 0.52
Test_LogContextTagRedactsToken
Function · 0.52