Plug.AccessLog

AccessLog Plug

Source

Summary

call(conn, opts)

Callback implementation of Plug.call/2

init(opts)

Callback implementation of Plug.init/1

log(conn, opts)

Logs the request

Functions

call(conn, opts)

Callback implementation of Plug.call/2.

Source
init(opts)

Callback implementation of Plug.init/1.

Source
log(conn, opts)

Specs:

  • log(conn :: Plug.Conn.t, opts :: %{}) :: :ok

Logs the request.

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

Source