A solution that reads the given log files ,processes its content and provides a summary of the logs.It accepts any number of log files from the command line.
- wamp or xampp server installed on your local machine
- Get a copy of the project from this repository .
- Then Open CLI and change the directory from local drive to the location where you have placed the files .
- Execute the following script.
php process.php -f example.log example1.log
You can also test it by uncommenting the array_push part in process.php.