Plug.AccessLog v0.15.0 API Reference

Modules

AccessLog Plug

Default log message formatter.

Fetches an environment variable for logging.

Determines remote ip address.

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 time taken to serve the request.

Creates a formatted request time string.

Calculates response size in bytes.

Fetches a response header for logging.

Formatting pipeline.