A simple logger to log different level of critical information in PHP script.