Plug.AccessLog
AccessLog Plug
Summary
call(conn, opts) | Callback implementation for |
init(opts) | Callback implementation for |
log(conn, opts) | Logs the request |
Functions
Callback implementation for c:Plug.call/2
.
Callback implementation for c:Plug.init/1
.
Specs:
- log(conn :: Plug.Conn.t, opts :: %{}) :: Plug.Conn.t
Logs the request.
If the target logfile could not be openend the message will be silently ignored.