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

Struct defaultLogEntry

middleware/logger.go:133–138  ·  middleware/logger.go::defaultLogEntry

Source from the content-addressed store, hash-verified

131}
132
133type defaultLogEntry struct {
134 *DefaultLogFormatter
135 request *http.Request
136 buf *bytes.Buffer
137 useColor bool
138}
139
140func (l *defaultLogEntry) Write(status, bytes int, header http.Header, elapsed time.Duration, extra interface{}) {
141 switch {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected