Less error prone log interface.

This commit is contained in:
XMRig
2019-12-18 02:20:31 +07:00
parent 914be17d5f
commit c2267d3343
8 changed files with 27 additions and 19 deletions

View File

@@ -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());