View Source Logster.Plug (Logster v2.0.0-rc.2)
A plug for logging request information in the format:
method=GET path=/articles/some-article format=html controller=HelloPhoenix.ArticleController action=show params={"id":"some-article"} status=200 duration=0.402 state=set
To use it, just plug it into the desired module.
plug Logster.Plug, log: :debug
Options
:log
- The log level at which this plug should log its request info. Default is:info
.