Correctly reset colors in FileLog.

This commit is contained in:
XMRig
2018-05-19 13:06:49 +07:00
parent 9e9e429e68
commit e04d6459cd
9 changed files with 45 additions and 35 deletions

View File

@@ -110,7 +110,7 @@ int xmrig::Controller::init(int argc, char **argv)
}
if (config()->logFile()) {
Log::add(new FileLog(config()->logFile()));
Log::add(new FileLog(this, config()->logFile()));
}
# ifdef HAVE_SYSLOG_H