Function rustream::squire::logger::log_connection
source · pub fn log_connection(request: &HttpRequest, session: &Session)Expand description
Logs connection information for an incoming HTTP request.
§Arguments
request- A reference to the Actix webHttpRequestobject.session- Session struct that holds thesession_mappingandsession_trackerto handle sessions.
This function logs the host and user agent information of the incoming connection.