Plug.AccessLog v0.11.0 Plug.AccessLog

AccessLog Plug

Summary

Functions

Callback implementation for c:Plug.call/2

Callback implementation for c:Plug.init/1

Logs the request

Functions

call(conn, opts)

Callback implementation for c:Plug.call/2.

init(opts)

Callback implementation for c:Plug.init/1.

log(conn, opts)

Specs

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

Logs the request.

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