Fixed build with -DWITH_DEBUG_LOG=ON
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
#include "base/tools/Arguments.h"
|
||||
|
||||
|
||||
#ifdef APP_DEBUG
|
||||
#if defined(APP_DEBUG) && defined(XMRIG_FEATURE_EVENTS)
|
||||
# include "base/io/log/Log.h"
|
||||
# include "base/kernel/Config.h"
|
||||
#endif
|
||||
@ -83,7 +83,7 @@ rapidjson::Value xmrig::DnsConfig::toJSON(rapidjson::Document &doc) const
|
||||
|
||||
void xmrig::DnsConfig::print() const
|
||||
{
|
||||
# ifdef APP_DEBUG
|
||||
#if defined(APP_DEBUG) && defined(XMRIG_FEATURE_EVENTS)
|
||||
LOG_DEBUG("%s " MAGENTA_BOLD("DNS")
|
||||
MAGENTA("<ipv6=") CYAN("%d")
|
||||
MAGENTA(", ttl=") CYAN("%u")
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "version.h"
|
||||
|
||||
|
||||
#ifdef APP_DEBUG
|
||||
#if defined(APP_DEBUG) && defined(XMRIG_FEATURE_EVENTS)
|
||||
# include "base/io/log/Log.h"
|
||||
# include "base/kernel/Config.h"
|
||||
#endif
|
||||
@ -89,7 +89,7 @@ xmrig::String xmrig::Title::value() const
|
||||
|
||||
void xmrig::Title::print() const
|
||||
{
|
||||
# ifdef APP_DEBUG
|
||||
# if defined(APP_DEBUG) && defined(XMRIG_FEATURE_EVENTS)
|
||||
LOG_DEBUG("%s " MAGENTA_BOLD("TITLE")
|
||||
MAGENTA("<enabled=") CYAN("%d")
|
||||
MAGENTA(", value=") "\"%s\""
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "base/net/tls/TlsGen.h"
|
||||
|
||||
|
||||
#ifdef APP_DEBUG
|
||||
#if defined(APP_DEBUG) && defined(XMRIG_FEATURE_EVENTS)
|
||||
# include "base/io/log/Log.h"
|
||||
# include "base/kernel/Config.h"
|
||||
#endif
|
||||
@ -148,7 +148,7 @@ rapidjson::Value xmrig::TlsConfig::toJSON(rapidjson::Document &doc) const
|
||||
|
||||
void xmrig::TlsConfig::print() const
|
||||
{
|
||||
# ifdef APP_DEBUG
|
||||
# if defined(APP_DEBUG) && defined(XMRIG_FEATURE_EVENTS)
|
||||
LOG_DEBUG("%s " MAGENTA_BOLD("TLS")
|
||||
MAGENTA("<enabled=") CYAN("%d")
|
||||
MAGENTA(", protocols=") CYAN("%u")
|
||||
|
Reference in New Issue
Block a user