Implemented the option to log to a file

File name format: ```yy_mm_dd.log```

Use ```Logger::getInstance()->setLogToFile(true);``` to start logging to a file.