[Fix] Debug logger was not opening file for write as it was pointing to the wrong directory.
This commit is contained in:
parent
31a9694e74
commit
449da95609
@ -20,7 +20,7 @@ Debug *Debug::logger = NULL;
|
||||
Debug::Debug(bool logToFile) {
|
||||
time_t timestamp;
|
||||
if(logToFile) {
|
||||
_logFile.open("../../Bin/Debug.log", ios::out);
|
||||
_logFile.open("../Bin/Debug.log", ios::out);
|
||||
if(!_logFile.is_open()) {
|
||||
// We can not open our log.
|
||||
cerr << "Warning: Can not open Debug.log to write, continueing without logging\n";
|
||||
|
Loading…
Reference in New Issue
Block a user