Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessLogRecord ¶
type AccessLogRecord struct { Request *http.Request HeadersOverride http.Header StatusCode int RouteEndpoint *route.Endpoint StartedAt time.Time FirstByteAt time.Time FinishedAt time.Time BodyBytesSent int RequestBytesReceived int ExtraHeadersToLog []string DisableXFFLogging bool DisableSourceIPLogging bool // contains filtered or unexported fields }
AccessLogRecord represents a single access log line
func (*AccessLogRecord) ApplicationID ¶
func (r *AccessLogRecord) ApplicationID() string
ApplicationID returns the application ID that corresponds with the access log
func (*AccessLogRecord) LogMessage ¶
func (r *AccessLogRecord) LogMessage() string
LogMessage returns a string representation of the access log line
Click to show internal directories.
Click to hide internal directories.