MCPcopy
hub / github.com/go-chi/chi / Write

Method Write

middleware/logger.go:70–70  ·  middleware/logger.go::LogEntry.Write
(status, bytes int, header http.Header, elapsed time.Duration, extra interface{})

Source from the content-addressed store, hash-verified

68// See defaultLogEntry for an example implementation.
69type LogEntry interface {
70 Write(status, bytes int, header http.Header, elapsed time.Duration, extra interface{})
71 Panic(v interface{}, stack []byte)
72}
73

Callers 15

RequestLoggerFunction · 0.95
methodNotAllowedHandlerFunction · 0.65
TestMuxBasicFunction · 0.65
TestMuxMountsFunction · 0.65
TestMuxPlainFunction · 0.65
TestMuxTrailingSlashFunction · 0.65
TestMuxNestedNotFoundFunction · 0.65
TestMethodNotAllowedFunction · 0.65
TestMuxWithFunction · 0.65

Implementers 1

defaultLogEntrymiddleware/logger.go

Calls

no outgoing calls

Tested by 15

TestMuxBasicFunction · 0.52
TestMuxMountsFunction · 0.52
TestMuxPlainFunction · 0.52
TestMuxTrailingSlashFunction · 0.52
TestMuxNestedNotFoundFunction · 0.52
TestMethodNotAllowedFunction · 0.52
TestMuxWithFunction · 0.52
TestMuxMiddlewareStackFunction · 0.52
TestMuxRouteGroupsFunction · 0.52