# time_log v1.3.14 - Table of Contents Plug to log Phoenix requests and responses with a more accurate time than the custom Phoenix logger ## Pages - [TimeLogPlug](readme.md) ## Modules - [TimeLog.PreLogPlug](TimeLog.PreLogPlug.md): This plug logs the incoming requests. It logs the IP address and has the ability to anonymize the IP address if set in config. - [TimeLog.TimePlug](TimeLog.TimePlug.md): 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.