Task
-
Refactor code in order to improve readability and effectivity;
-
Implement extra functionality so logging can be easily switched to console output;
-
Create PHPUnit tests (optional);
Rules
-
File index.php cannot be changed.
-
Changes should be done in Logger class (new classes can be created if needed);
-
Commit after each step.