time_log v1.3.7 TimeLog.PreLogPlug

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

Link to this section Summary

Functions

Call to PreLogPlug that initiates the request logging

Initiates Response logging and logs the incoming request. Ensures that responses are only logged if the corresponding request was logged as well

Link to this section Functions

Link to this function

call(conn, opts)
call(Plug.Conn, Map) :: Plug.Conn

Call to PreLogPlug that initiates the request logging.

Link to this function

initiate_logging(conn)
initiate_logging(Plug.Conn) :: Plug.Conn

Initiates Response logging and logs the incoming request. Ensures that responses are only logged if the corresponding request was logged as well.