added location info into the log_parsing output. Now when the access logs are parsed, the geo_data is now included in the p_logs print function for each entry.

This commit is contained in:
rapturate
2026-06-08 14:25:11 -04:00
parent 1a129a5999
commit bdaf8451a0
6 changed files with 41 additions and 18 deletions

View File

@@ -1,13 +1,8 @@
#include "log_parsing/log_parsing.hpp"
#include "ip_to_geo/ip_to_geo.hpp"
#include <iostream>
int main(){
p_logs logs("test_logs/access.log.txt");
logs.print_logs();
std::string ip = "192.178.248.40";
std::cout << iplookup(ip);
return 0;
}
}