Sync changes with AMD miner.
This commit is contained in:
parent
e8d6514bd3
commit
f7b029eb05
9 changed files with 217 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue