package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

GetFuncInfo returns the FuncInfo for a provided function and friendlyname.
MarkLongPolling marks the request is a long-polling request, and the logger may output different message for it.
NewLoggerHandler is a handler that will log routing to the router log taking account of routing information.
UpdateFuncInfo updates a context's func info.
UpdatePanicError updates a context's error info, a panic may be recovered by other middlewares, but we still need to know that.

# Constants

EndEvent the request has ended (either completed or failed).
StartEvent at the beginning of a request.
StillExecutingEvent the request is still executing.

# Structs

FuncInfo contains information about the function to be logged by the router log.

# Type aliases

Event indicates when the printer is triggered.
Printer is used to output the log for a request.