Sync changes with AMD miner.

This commit is contained in:
XMRig 2018-07-20 03:37:07 +07:00
parent e8d6514bd3
commit f7b029eb05
9 changed files with 217 additions and 3 deletions

View file

@ -30,6 +30,7 @@
#include "common/interfaces/ILogBackend.h"
#include "common/log/BasicLog.h"
#include "common/log/Log.h"
@ -109,6 +110,14 @@ const char *Log::endl(bool isColors)
}
void Log::defaultInit()
{
m_self = new Log();
add(new BasicLog());
}
Log::~Log()
{
for (auto backend : m_backends) {