Correctly reset colors in FileLog.
This commit is contained in:
parent
0086020b5c
commit
5019493332
9 changed files with 45 additions and 35 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue