Plug.AccessLog v0.15.0 Plug.AccessLog View Source

AccessLog Plug

Link to this section Summary

Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.

Logs the request.

Link to this section Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.

Specs

log(Plug.Conn.t(), map()) :: Plug.Conn.t()

Logs the request.

If the target logfile could not be opened the message will be silently ignored.