Plug.AccessLog v0.11.0 API Reference

Modules

AccessLog Plug

AccessLog Application

Default log message formatter

Fetches a cookie sent by the client for logging

Fetches a request header for logging

Recreates the first line of the original HTTP request

Logs request path without query string

Calculates the seconds (or milliseconds) taken to serve the request

Creates a formatted request time string

Calculates response size in bytes

Fetches a response header for logging

Formatting pipeline

Logfile agent

Write-Ahead-Log agent

Log message writer