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

Method NewLogEntry

middleware/logger.go:64–64  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

62// See DefaultLogFormatter for an example implementation.
63type LogFormatter interface {
64 NewLogEntry(r *http.Request) LogEntry
65}
66
67// LogEntry records the final log when a request completes.

Callers 1

RequestLoggerFunction · 0.65

Implementers 1

DefaultLogFormattermiddleware/logger.go

Calls

no outgoing calls

Tested by

no test coverage detected