Less error prone log interface.
This commit is contained in:
parent
3cc8b19ca0
commit
5142a406b0
8 changed files with 27 additions and 19 deletions
|
@ -177,7 +177,7 @@ int xmrig::Base::init()
|
|||
Platform::init(config()->userAgent());
|
||||
|
||||
if (isBackground()) {
|
||||
Log::background = true;
|
||||
Log::setBackground(true);
|
||||
}
|
||||
else {
|
||||
Log::add(new ConsoleLog());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue