Plug.Logger

A plug for logging basic request information in the format:

GET /index.html
Sent 200 in 572ms

To use it, just plug it into the desired module.

plug Plug.Logger, log: :debug

Options

Source

Summary

call(conn, level)

Callback implementation for Plug.call/2

init(opts)

Callback implementation for Plug.init/1

Functions

call(conn, level)

Callback implementation for Plug.call/2.

Source
init(opts)

Callback implementation for Plug.init/1.

Source