time_log v1.3.7 API Reference

Modules

This plug logs the incoming requests. It logs the IP address and has the ability to anonymize the IP address if set in config

This plug stops the time a request takes. Also, this module delivers additional useful functionality The plug needs to be called as early in the endpoint.ex as possible, ideally right after the socked received a request. Additionally the get_duration function can be called from everywhere in order to know how long the request took so far. Allows calls to get_ip from other apps too