Plug.AccessLog
AccessLog Plug
Summary↑
| call(conn, opts) | Callback implementation of |
| init(opts) | Callback implementation of |
| log(conn, opts) | Logs the request |
Functions
Callback implementation of Plug.call/2.
Callback implementation of Plug.init/1.
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.