TimeLog.PreLogPlug (time_log v1.3.11)
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)
Specs
call(Plug.Conn, Map) :: Plug.Conn
Call to PreLogPlug that initiates the request logging.
Link to this function
initiate_logging(conn)
Specs
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.