1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 08:23:34 -05:00

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) {