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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user