Sync changes with AMD miner.

This commit is contained in:
XMRig
2018-07-20 03:37:07 +07:00
parent 02d6c09555
commit a3fa97407f
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) {