Kea  2.1.2-git
macros.h File Reference
#include <log/logger.h>
#include <log/log_dbglevels.h>
+ Include dependency graph for macros.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LOG_DEBUG(LOGGER, LEVEL, MESSAGE)
 Macro to conveniently test debug output and log it. More...
 
#define LOG_ERROR(LOGGER, MESSAGE)
 Macro to conveniently test error output and log it. More...
 
#define LOG_FATAL(LOGGER, MESSAGE)
 Macro to conveniently test fatal output and log it. More...
 
#define LOG_INFO(LOGGER, MESSAGE)
 Macro to conveniently test info output and log it. More...
 
#define LOG_WARN(LOGGER, MESSAGE)
 Macro to conveniently test warn output and log it. More...
 

Macro Definition Documentation

◆ LOG_DEBUG

#define LOG_DEBUG (   LOGGER,
  LEVEL,
  MESSAGE 
)
Value:
if (!(LOGGER).isDebugEnabled((LEVEL))) { \
} else \
(LOGGER).debug((LEVEL), (MESSAGE))

Macro to conveniently test debug output and log it.

Definition at line 14 of file macros.h.

Referenced by isc::dhcp::Dhcpv4Srv::accept(), isc::dhcp::Dhcpv4Srv::acceptMessageType(), isc::http::HttpConnection::acceptorCallback(), isc::dhcp::CfgSubnets4::add(), isc::dhcp::CfgSubnets6::add(), isc::dhcp::CqlHostDataSource::add(), isc::dhcp::CfgHosts::add(), isc::dhcp::CqlLeaseMgr::addLease(), isc::dhcp::Memfile_LeaseMgr::addLease(), isc::dhcp::PgSqlLeaseMgr::addLease(), isc::dhcp::MySqlLeaseMgr::addLease(), isc::dhcp::AllocEngine::allocateLeases6(), isc::dhcp::Dhcpv6Srv::assignIA_NA(), isc::dhcp::Dhcpv6Srv::assignIA_PD(), isc::dhcp::Dhcpv4Srv::assignLease(), isc::ha::HAService::asyncSyncLeasesInternal(), buffer4_receive(), isc::ha::HAImpl::buffer4Receive(), isc::ha::HAImpl::buffer6Receive(), isc::dhcp::Dhcpv6Srv::buildCfgOptionList(), isc::dhcp::Dhcpv4Srv::buildCfgOptionList(), isc::hooks::CalloutManager::callCallouts(), isc::dhcp::TimerMgr::cancel(), isc::dhcp::TimerMgrImpl::cancel(), isc::d2::D2Process::canShutdown(), isc::netconf::NetconfAgent::change(), isc::dhcp::ControlledDhcpv4Srv::checkConfig(), isc::dhcp::ControlledDhcpv6Srv::checkConfig(), isc::dhcp::Dhcpv6Srv::checkDynamicSubnetChange(), isc::hooks::LibraryManager::checkMultiThreadingCompatible(), isc::d2::D2Process::checkQueueStatus(), isc::hooks::LibraryManager::checkVersion(), isc::dhcp::Dhcpv4Exchange::classifyPacket(), isc::dhcp::CqlHostDataSource::commit(), isc::dhcp::CqlLeaseMgr::commit(), isc::dhcp::PgSqlLeaseMgr::commit(), isc::dhcp::MySqlLeaseMgr::commit(), isc::dhcp::Memfile_LeaseMgr::commit(), isc::d2::D2Process::configure(), isc::dhcp::configureDhcp4Server(), isc::dhcp::configureDhcp6Server(), isc::dhcp::MySqlLeaseMgr::createContext(), isc::dhcp::MySqlHostDataSourceImpl::createContext(), isc::dhcp::Dhcpv6Srv::createNameChangeRequests(), isc::dhcp::Dhcpv6Srv::declineIA(), isc::dhcp::Dhcpv4Srv::declineLease(), isc::dhcp::Dhcpv6Srv::declineLease(), isc::dhcp::Dhcpv4Srv::deferredUnpack(), isc::dhcp::CfgSubnets4::del(), isc::dhcp::CfgSubnets6::del(), isc::dhcp::HostDataSourceFactory::del(), isc::dhcp::CfgHosts::delAll4(), isc::dhcp::CfgHosts::delAll6(), isc::dhcp::CqlLeaseMgr::deleteExpiredReclaimedLeases4(), isc::dhcp::Memfile_LeaseMgr::deleteExpiredReclaimedLeases4(), isc::dhcp::PgSqlLeaseMgr::deleteExpiredReclaimedLeases4(), isc::dhcp::MySqlLeaseMgr::deleteExpiredReclaimedLeases4(), isc::dhcp::AllocEngine::deleteExpiredReclaimedLeases4(), isc::dhcp::CqlLeaseMgr::deleteExpiredReclaimedLeases6(), isc::dhcp::Memfile_LeaseMgr::deleteExpiredReclaimedLeases6(), isc::dhcp::PgSqlLeaseMgr::deleteExpiredReclaimedLeases6(), isc::dhcp::MySqlLeaseMgr::deleteExpiredReclaimedLeases6(), isc::dhcp::AllocEngine::deleteExpiredReclaimedLeases6(), isc::dhcp::CqlLeaseMgr::deleteLease(), isc::dhcp::Memfile_LeaseMgr::deleteLease(), isc::dhcp::PgSqlLeaseMgr::deleteLease(), isc::dhcp::MySqlLeaseMgr::deleteLease(), isc::hooks::CalloutManager::deregisterAllCallouts(), isc::hooks::CalloutManager::deregisterCallout(), isc::config::BaseCommandMgr::deregisterCommand(), isc::dhcp::HostDataSourceFactory::deregisterFactory(), isc::dhcp::LeaseMgrFactory::destroy(), isc::dhcp::Dhcpv4Exchange::Dhcpv4Exchange(), isc::dhcp::Dhcpv4Srv::Dhcpv4Srv(), isc::dhcp::Dhcpv6Srv::Dhcpv6Srv(), isc::netconf::NetconfAgent::done(), isc::dhcp::TokenString::evaluate(), isc::dhcp::TokenHexString::evaluate(), isc::dhcp::TokenIpAddress::evaluate(), isc::dhcp::TokenInt8ToText::evaluate(), isc::dhcp::TokenInt16ToText::evaluate(), isc::dhcp::TokenInt32ToText::evaluate(), isc::dhcp::TokenUInt8ToText::evaluate(), isc::dhcp::TokenUInt16ToText::evaluate(), isc::dhcp::TokenUInt32ToText::evaluate(), isc::dhcp::TokenOption::evaluate(), isc::dhcp::TokenPkt::evaluate(), isc::dhcp::TokenPkt4::evaluate(), isc::dhcp::TokenPkt6::evaluate(), isc::dhcp::TokenRelay6Field::evaluate(), isc::dhcp::TokenEqual::evaluate(), isc::dhcp::TokenSubstring::evaluate(), isc::dhcp::TokenConcat::evaluate(), isc::dhcp::TokenIfElse::evaluate(), isc::dhcp::TokenToHexString::evaluate(), isc::dhcp::TokenNot::evaluate(), isc::dhcp::TokenAnd::evaluate(), isc::dhcp::TokenOr::evaluate(), isc::dhcp::TokenMember::evaluate(), isc::dhcp::TokenVendor::evaluate(), isc::dhcp::TokenVendorClass::evaluate(), isc::dhcp::TokenSubOption::evaluate(), isc::dhcp::Dhcpv6Srv::evaluateClasses(), isc::dhcp::Dhcpv6Srv::extendIA_NA(), isc::dhcp::Dhcpv6Srv::extendIA_PD(), isc::dhcp::AllocEngine::findGlobalReservation(), isc::dhcp::CqlHostDataSource::get4(), isc::dhcp::HostMgr::get4(), isc::dhcp::CfgHosts::get4(), isc::dhcp::HostMgr::get4Any(), isc::dhcp::CqlHostDataSource::get6(), isc::dhcp::HostMgr::get6(), isc::dhcp::HostMgr::get6Any(), isc::dhcp::CqlHostDataSource::getAll(), isc::dhcp::CqlHostDataSource::getAll4(), isc::dhcp::HostMgr::getAll4(), isc::dhcp::CfgHosts::getAll4(), isc::dhcp::CqlHostDataSource::getAll6(), isc::dhcp::CfgHosts::getAll6(), isc::dhcp::HostMgr::getAll6(), isc::dhcp::CqlHostDataSource::getAllbyHostname(), isc::dhcp::CqlHostDataSource::getAllbyHostname4(), isc::dhcp::CqlHostDataSource::getAllbyHostname6(), isc::dhcp::CqlLeaseMgr::getExpiredLeases4(), isc::dhcp::Memfile_LeaseMgr::getExpiredLeases4(), isc::dhcp::PgSqlLeaseMgr::getExpiredLeases4(), isc::dhcp::MySqlLeaseMgr::getExpiredLeases4(), isc::dhcp::CqlLeaseMgr::getExpiredLeases6(), isc::dhcp::Memfile_LeaseMgr::getExpiredLeases6(), isc::dhcp::PgSqlLeaseMgr::getExpiredLeases6(), isc::dhcp::MySqlLeaseMgr::getExpiredLeases6(), isc::dhcp::CqlLeaseMgr::getLease4(), isc::dhcp::Memfile_LeaseMgr::getLease4(), isc::dhcp::PgSqlLeaseMgr::getLease4(), isc::dhcp::MySqlLeaseMgr::getLease4(), isc::dhcp::CqlLeaseMgr::getLease6(), isc::dhcp::Memfile_LeaseMgr::getLease6(), isc::dhcp::PgSqlLeaseMgr::getLease6(), isc::dhcp::MySqlLeaseMgr::getLease6(), isc::dhcp::CqlLeaseMgr::getLeases4(), isc::dhcp::Memfile_LeaseMgr::getLeases4(), isc::dhcp::PgSqlLeaseMgr::getLeases4(), isc::dhcp::MySqlLeaseMgr::getLeases4(), isc::dhcp::CqlLeaseMgr::getLeases6(), isc::dhcp::Memfile_LeaseMgr::getLeases6(), isc::dhcp::PgSqlLeaseMgr::getLeases6(), isc::dhcp::MySqlLeaseMgr::getLeases6(), isc::dhcp::AllocEngine::getLifetimes6(), isc::dhcp::CqlHostDataSource::getPage4(), isc::dhcp::CqlHostDataSource::getPage6(), isc::dhcp::AllocEngine::getValidLft(), isc::dhcp::CqlHostDataSource::getVersion(), isc::dhcp::CqlLeaseMgr::getVersion(), isc::dhcp::PgSqlLeaseMgr::getVersion(), isc::dhcp::MySqlLeaseMgr::getVersion(), isc::dhcp::PgSqlHostDataSourceImpl::getVersion(), isc::dhcp::MySqlHostDataSourceImpl::getVersion(), isc::agent::CtrlAgentCommandMgr::handleCommand(), isc::dhcp::Dhcp6to4Ipc::handler(), isc::dhcp::Dhcp4to6Ipc::handler(), isc::http::HttpConnection::handshakeCallback(), isc::http::HttpClientImpl::HttpClientImpl(), isc::http::HttpConnection::idleTimeoutCallback(), isc::dhcp::Dhcpv6Srv::initContext(), isc::process::DControllerBase::initProcess(), isc::dhcp::Dhcpv4Exchange::initResponse4o6(), isc::netconf::NetconfAgent::keaConfig(), isc::process::DControllerBase::launch(), isc::ha::HAImpl::leases4Committed(), isc::ha::HAImpl::leases6Committed(), isc::dhcp::LeaseFileLoader::load(), isc::ha::QueryFilter::loadBalance(), isc::hooks::LibraryManager::loadLibrary(), isc::flex_option::FlexOptionImpl::logAction(), isc::netconf::NetconfAgent::logChanges(), isc::stat_cmds::LeaseStatCmdsImpl::makeResultSet4(), isc::stat_cmds::LeaseStatCmdsImpl::makeResultSet6(), isc::d2::D2UpdateMgr::makeTransaction(), isc::d2::DNSClientImpl::operator()(), isc::d2::NameChangeTransaction::operator()(), isc::d2::D2QueueMgr::operator()(), isc::dhcp::D2ClientMgr::operator()(), isc::dhcp::RelayInfoParser::parse(), isc::d2::D2UpdateMgr::pickNextJob(), pkt4_send(), isc::dhcp::Dhcpv4Srv::postAllocateNameUpdate(), isc::hooks::LibraryManager::prepareUnloadLibrary(), isc::dhcp::Dhcpv6Srv::processClientFqdn(), isc::dhcp::Dhcpv4Srv::processClientName(), isc::dhcp::ControlledDhcpv4Srv::processCommand(), isc::dhcp::ControlledDhcpv6Srv::processCommand(), isc::dhcp::ControlledDhcpv4Srv::processConfig(), isc::dhcp::ControlledDhcpv6Srv::processConfig(), isc::dhcp::Dhcpv4Srv::processDhcp4Query(), isc::dhcp::Dhcpv6Srv::processDhcp6Query(), isc::dhcp::Dhcpv4Srv::processInform(), isc::dhcp::Dhcpv6Srv::processPacket(), isc::dhcp::Dhcpv4Srv::processPacket(), isc::dhcp::Dhcpv4Srv::processPacketBufferSend(), isc::dhcp::Dhcpv6Srv::processPacketBufferSend(), isc::dhcp::Dhcpv4Srv::processPacketPktSend(), isc::dhcp::Dhcpv6Srv::processPacketPktSend(), isc::dhcp::Dhcpv4Srv::processRelease(), isc::process::DControllerBase::processSignal(), isc::dhcp::Dhcpv6Srv::processSolicit(), isc::dhcp_ddns::NameChangeUDPListener::receiveCompletionHandler(), isc::dhcp::AllocEngine::reclaimExpiredLeases4(), isc::dhcp::AllocEngine::reclaimExpiredLeases6(), isc::hooks::CalloutManager::registerCallout(), isc::config::BaseCommandMgr::registerCommand(), isc::config::BaseCommandMgr::registerExtendedCommand(), isc::dhcp::HostDataSourceFactory::registerFactory(), isc::hooks::LibraryManager::registerStandardCallouts(), isc::dhcp::TimerMgr::registerTimer(), isc::dhcp::Dhcpv6Srv::releaseIA_NA(), isc::dhcp::Dhcpv6Srv::releaseIA_PD(), isc::dhcp::AllocEngine::renewLeases6(), isc::dhcp::CfgSubnets4::replace(), isc::dhcp::CfgSubnets6::replace(), isc::http::HttpConnection::requestTimeoutCallback(), isc::dhcp::Dhcpv6Srv::requiredClassify(), isc::dhcp::Dhcpv4Srv::requiredClassify(), isc::dhcp::CqlHostDataSource::rollback(), isc::dhcp::CqlLeaseMgr::rollback(), isc::dhcp::PgSqlLeaseMgr::rollback(), isc::dhcp::MySqlLeaseMgr::rollback(), isc::dhcp::Memfile_LeaseMgr::rollback(), isc::netconf::NetconfProcess::run(), isc::agent::CtrlAgentProcess::run(), isc::d2::D2Process::run(), isc::dhcp::Dhcpv6Srv::run_one(), isc::dhcp::Dhcpv4Srv::run_one(), isc::hooks::LibraryManager::runLoad(), isc::process::DControllerBase::runProcess(), isc::dhcp::Dhcpv6Srv::sanityCheck(), isc::dhcp::CfgSubnets6::selectSubnet(), isc::dhcp::CfgSubnets4::selectSubnet(), isc::dhcp::Dhcpv6Srv::selectSubnet(), isc::dhcp::Dhcpv4Srv::selectSubnet(), isc::dhcp::Dhcpv4Srv::selectSubnet4o6(), isc::d2::NameChangeTransaction::sendUpdate(), isc::dhcp::D2ClientMgr::setD2ClientConfig(), isc::dhcp::Dhcpv6Srv::setReservedClientClasses(), isc::dhcp::TimerMgr::setup(), isc::d2::D2Process::shutdown(), isc::dhcp::Dhcpv6Srv::shutdown(), isc::dhcp::Dhcpv4Srv::shutdown(), isc::http::HttpConnection::shutdownConnection(), isc::process::DCfgMgrBase::simpleParseConfig(), isc::http::HttpConnection::socketReadCallback(), isc::config::CmdHttpListener::start(), isc::d2::D2QueueMgr::startListening(), isc::d2::NameChangeTransaction::startTransaction(), isc::config::CmdHttpListener::stop(), isc::asiodns::IOFetch::stop(), isc::d2::D2QueueMgr::stopListening(), isc::http::HttpConnection::stopThisConnection(), isc::d2::D2UpdateMgr::sweep(), isc::dhcp::Dhcpv6Srv::testServerID(), isc::dhcp::Dhcpv6Srv::testUnicast(), isc::dhcp::ClientHandler::tryLock(), isc::hooks::LibraryManager::unloadLibrary(), isc::dhcp::TimerMgr::unregisterTimer(), isc::dhcp::TimerMgr::unregisterTimers(), isc::dhcp::CqlLeaseMgr::updateLease4(), isc::dhcp::Memfile_LeaseMgr::updateLease4(), isc::dhcp::PgSqlLeaseMgr::updateLease4(), isc::dhcp::MySqlLeaseMgr::updateLease4(), isc::dhcp::CqlLeaseMgr::updateLease6(), isc::dhcp::Memfile_LeaseMgr::updateLease6(), isc::dhcp::PgSqlLeaseMgr::updateLease6(), isc::dhcp::MySqlLeaseMgr::updateLease6(), isc::dhcp::CfgIface::use(), isc::netconf::NetconfAgent::yangConfig(), isc::dhcp::ClientHandler::~ClientHandler(), and isc::dhcp::LFCSetup::~LFCSetup().

◆ LOG_ERROR

#define LOG_ERROR (   LOGGER,
  MESSAGE 
)
Value:
if (!(LOGGER).isErrorEnabled()) { \
} else \
(LOGGER).error((MESSAGE))

Macro to conveniently test error output and log it.

Definition at line 32 of file macros.h.

Referenced by isc::d2::NameAddTransaction::addingFwdAddrsHandler(), isc::dhcp::AllocEngine::allocateLease4(), isc::dhcp::AllocEngine::allocateLeases6(), isc::dhcp::Dhcpv4Srv::assignLease(), isc::ha::HAService::asyncDisableDHCPService(), isc::ha::HAService::asyncEnableDHCPService(), isc::ha::HAService::asyncSyncCompleteNotify(), isc::ha::HAService::asyncSyncLeasesInternal(), buffer4_receive(), buffer6_receive(), isc::hooks::CalloutManager::callCallouts(), isc::dhcp::TimerMgrImpl::cancel(), isc::netconf::NetconfAgent::change(), isc::netconf::NetconfAgent::checkModule(), isc::hooks::LibraryManager::checkMultiThreadingCompatible(), isc::ha::HAService::checkPermissionsClientAndListener(), isc::d2::D2Process::checkQueueStatus(), isc::hooks::LibraryManager::checkVersion(), isc::dhcp::Dhcpv4Exchange::classifyPacket(), isc::dhcp::ControlledDhcpv6Srv::cleanup(), isc::ha::CommunicationState::clockSkewShouldTerminate(), isc::hooks::LibraryManager::closeLibrary(), command_processed(), isc::d2::D2Process::configure(), continue_command(), isc::dhcp::CqlHostDataSourceImpl::CqlHostDataSourceImpl(), isc::dhcp::CqlLeaseMgr::CqlLeaseMgr(), isc::dhcp::LeaseMgrFactory::create(), isc::dhcp::MySqlLeaseMgr::createContext(), isc::dhcp::MySqlHostDataSourceImpl::createContext(), isc::dhcp::Dhcpv6Srv::d2ClientErrorHandler(), isc::dhcp::Dhcpv4Srv::d2ClientErrorHandler(), isc::dhcp::PgSqlLeaseMgr::dbReconnect(), isc::dhcp::MySqlLeaseMgr::dbReconnect(), isc::dhcp::PgSqlHostDataSourceImpl::dbReconnect(), isc::dhcp::MySqlHostDataSourceImpl::dbReconnect(), isc::dhcp::Dhcpv6Srv::declineIA(), isc::dhcp::Dhcpv4Srv::declineLease(), isc::dhcp::Dhcpv6Srv::declineLease(), isc::dhcp::AllocEngine::deleteExpiredReclaimedLeases4(), isc::dhcp::AllocEngine::deleteExpiredReclaimedLeases6(), dhcp4_srv_configured(), dhcp6_srv_configured(), isc::dhcp::Dhcpv4Srv::Dhcpv4Srv(), isc::dhcp::Dhcpv6Srv::Dhcpv6Srv(), isc::config::CommandMgrImpl::doAccept(), isc::netconf::NetconfAgent::done(), isc::dhcp::Dhcpv6Srv::evaluateClasses(), isc::dhcp::LFCSetup::execute(), isc::log::getDestination(), isc::log::getSeverity(), isc::log::getStream(), ha_reset_command(), isc::process::DControllerBase::handleOtherObjects(), isc::dhcp::Dhcp4to6Ipc::handler(), heartbeat_command(), isc::dhcp::D2ClientMgr::invokeClientErrorHandler(), isc::dhcp_ddns::NameChangeListener::invokeRecvHandler(), isc::dhcp_ddns::NameChangeSender::invokeSendHandler(), isc::dhcp_ddns::NameChangeUDPSender::ioReady(), isc::netconf::NetconfAgent::keaConfig(), isc::lease_cmds::LeaseCmdsImpl::lease4ResendDdnsHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6ResendDdnsHandler(), isc::lease_cmds::LeaseCmdsImpl::leaseAddHandler(), leases4_committed(), leases6_committed(), isc::dhcp::Memfile_LeaseMgr::lfcCallback(), isc::dhcp::LeaseFileLoader::load(), load(), isc::dhcp::ControlledDhcpv4Srv::loadConfigFile(), isc::dhcp::ControlledDhcpv6Srv::loadConfigFile(), isc::log::LoggerLevelImpl::logLevelFromString(), maintenance_cancel_command(), maintenance_notify_command(), maintenance_start_command(), isc::d2::D2UpdateMgr::makeTransaction(), isc::d2::NameChangeTransaction::onModelFailure(), isc::hooks::LibraryManager::openLibrary(), isc::d2::D2QueueMgr::operator()(), isc::netconf::NetconfCfgMgr::parse(), isc::agent::CtrlAgentCfgMgr::parse(), isc::d2::D2CfgMgr::parse(), isc::ha::HAService::pauseClientAndListener(), isc::dhcp::PgSqlHostDataSourceImpl::PgSqlHostDataSourceImpl(), isc::dhcp::PgSqlLeaseMgr::PgSqlLeaseMgr(), pkt4_send(), pkt6_send(), isc::dhcp::Dhcpv4Srv::postAllocateNameUpdate(), isc::hooks::LibraryManager::prepareUnloadLibrary(), isc::d2::SimpleAddTransaction::processAddFailedHandler(), isc::d2::NameAddTransaction::processAddFailedHandler(), isc::dhcp::Dhcpv4Srv::processDhcp4QueryAndSendResponse(), isc::dhcp::Dhcpv6Srv::processDhcp6QueryAndSendResponse(), isc::ha::HAService::processMaintenanceCancel(), isc::ha::HAService::processMaintenanceStart(), isc::dhcp::Dhcpv6Srv::processPacketAndSendResponseNoThrow(), isc::dhcp::Dhcpv4Srv::processPacketAndSendResponseNoThrow(), isc::dhcp::Dhcpv4Srv::processPacketBufferSend(), isc::dhcp::Dhcpv6Srv::processPacketBufferSend(), isc::dhcp::Dhcpv4Srv::processPacketPktSend(), isc::dhcp::Dhcpv6Srv::processPacketPktSend(), isc::dhcp::Dhcpv4Srv::processRelease(), isc::d2::SimpleRemoveTransaction::processRemoveFailedHandler(), isc::d2::NameRemoveTransaction::processRemoveFailedHandler(), isc::process::DControllerBase::processSignal(), isc::dhcp_ddns::NameChangeUDPListener::receiveCompletionHandler(), isc::dhcp::AllocEngine::reclaimExpiredLeases4(), isc::dhcp::AllocEngine::reclaimExpiredLeases6(), isc::d2::D2Process::reconfigureQueueMgr(), isc::dhcp::Dhcpv6Srv::releaseIA_NA(), isc::dhcp::Dhcpv6Srv::releaseIA_PD(), isc::d2::NameRemoveTransaction::removingFwdAddrsHandler(), isc::d2::SimpleRemoveTransaction::removingFwdRRsHandler(), isc::d2::NameRemoveTransaction::removingFwdRRsHandler(), isc::d2::SimpleRemoveTransaction::removingRevPtrsHandler(), isc::d2::NameRemoveTransaction::removingRevPtrsHandler(), isc::dhcp::AllocEngine::renewLeases6(), isc::d2::SimpleAddTransaction::replacingFwdAddrsHandler(), isc::d2::NameAddTransaction::replacingFwdAddrsHandler(), isc::d2::SimpleAddTransaction::replacingRevPtrsHandler(), isc::d2::NameAddTransaction::replacingRevPtrsHandler(), isc::dhcp::Dhcpv6Srv::requiredClassify(), isc::dhcp::Dhcpv4Srv::requiredClassify(), isc::ha::HAService::resumeClientAndListener(), isc::dhcp::Dhcpv6Srv::run(), isc::dhcp::Dhcpv4Srv::run(), isc::dhcp::Dhcpv6Srv::run_one(), isc::dhcp::Dhcpv4Srv::run_one(), isc::hooks::LibraryManager::runLoad(), scopes_command(), isc::dhcp_ddns::NameChangeUDPSender::sendCompletionHandler(), isc::dhcp::D2ClientMgr::sendRequest(), isc::dhcp::Dhcpv6Srv::sendResponseNoThrow(), isc::dhcp::Dhcpv4Srv::sendResponseNoThrow(), isc::d2::NameChangeTransaction::sendUpdate(), isc::http::HttpConnection::shutdownConnection(), isc::process::DCfgMgrBase::simpleParseConfig(), isc::stat_cmds::StatCmds::statLease4GetHandler(), isc::stat_cmds::LeaseStatCmdsImpl::statLease4GetHandler(), isc::stat_cmds::LeaseStatCmdsImpl::statLease6GetHandler(), isc::stat_cmds::StatCmds::statLease6GetHandler(), isc::asiodns::IOFetch::stop(), isc::dhcp_ddns::NameChangeListener::stopListening(), isc::dhcp_ddns::NameChangeSender::stopSending(), isc::http::HttpConnection::stopThisConnection(), subnet4_select(), subnet6_select(), isc::netconf::NetconfAgent::subscribeConfig(), isc::netconf::NetconfAgent::subscribeToNotifications(), sync_command(), sync_complete_notify_command(), isc::ha::HAService::synchronize(), isc::ha::HAService::terminatedStateHandler(), isc::db::DatabaseConnection::toElement(), unload(), isc::netconf::NetconfAgent::yangConfig(), isc::dhcp::ControlledDhcpv4Srv::~ControlledDhcpv4Srv(), isc::dhcp::ControlledDhcpv6Srv::~ControlledDhcpv6Srv(), isc::process::DControllerBase::~DControllerBase(), isc::dhcp::Dhcpv4Srv::~Dhcpv4Srv(), and isc::dhcp::Dhcpv6Srv::~Dhcpv6Srv().

◆ LOG_FATAL

#define LOG_FATAL (   LOGGER,
  MESSAGE 
)
Value:
if (!(LOGGER).isFatalEnabled()) { \
} else \
(LOGGER).fatal((MESSAGE))

Macro to conveniently test fatal output and log it.

Definition at line 38 of file macros.h.

Referenced by isc::dhcp::ControlledDhcpv6Srv::cleanup(), isc::lfc::LFCController::launch(), isc::process::DControllerBase::launch(), isc::dhcp::ControlledDhcpv4Srv::loadConfigFile(), isc::netconf::NetconfProcess::run(), isc::agent::CtrlAgentProcess::run(), and isc::d2::D2Process::run().

◆ LOG_INFO

#define LOG_INFO (   LOGGER,
  MESSAGE 
)
Value:
if (!(LOGGER).isInfoEnabled()) { \
} else \
(LOGGER).info((MESSAGE))

Macro to conveniently test info output and log it.

Definition at line 20 of file macros.h.

Referenced by isc::ha::HAService::adjustNetworkState(), isc::dhcp::AllocEngine::allocateLeases6(), isc::ha::CommunicationState4::analyzeMessageInternal(), isc::ha::CommunicationState6::analyzeMessageInternal(), isc::dhcp::Dhcpv6Srv::assignIA_NA(), isc::dhcp::Dhcpv6Srv::assignIA_PD(), isc::dhcp::Dhcpv4Srv::assignLease(), isc::ha::HAService::asyncSyncLeasesInternal(), isc::netconf::NetconfAgent::change(), isc::http::BasicHttpAuthConfig::checkAuth(), isc::dhcp::HostMgr::checkCacheBackend(), isc::dhcp::SanityChecker::checkLeaseInternal(), isc::d2::D2Process::checkQueueStatus(), isc::dhcp::Dhcpv4Exchange::classifyPacket(), isc::dhcp::ControlledDhcpv6Srv::cleanup(), isc::hooks::LibraryManager::closeLibrary(), isc::ha::HAService::conditionalLogPausedState(), isc::agent::CtrlAgentProcess::configure(), isc::dhcp::LeaseMgrFactory::create(), isc::dhcp::PgSqlHostDataSourceImpl::createContext(), isc::dhcp::MySqlHostDataSourceImpl::createContext(), isc::dhcp::CBControlDHCPv6::databaseConfigApply(), isc::dhcp::CBControlDHCPv4::databaseConfigApply(), isc::process::CBControlBase< ConfigBackendDHCPv4Mgr >::databaseConfigConnect(), isc::process::CBControlBase< ConfigBackendDHCPv4Mgr >::databaseConfigFetch(), isc::dhcp::PgSqlLeaseMgr::dbReconnect(), isc::dhcp::MySqlLeaseMgr::dbReconnect(), isc::dhcp::PgSqlHostDataSourceImpl::dbReconnect(), isc::dhcp::MySqlHostDataSourceImpl::dbReconnect(), isc::dhcp::Dhcpv6Srv::declineIA(), isc::dhcp::Dhcpv4Srv::declineLease(), isc::dhcp::Dhcpv6Srv::declineLease(), isc::dhcp::AllocEngine::deleteExpiredReclaimedLeases4(), isc::netconf::NetconfAgent::done(), isc::dhcp::Dhcpv6Srv::evaluateClasses(), isc::dhcp::LFCSetup::execute(), isc::dhcp::Dhcpv6Srv::extendIA_NA(), isc::dhcp::Dhcpv6Srv::extendIA_PD(), isc::agent::CtrlAgentCommandMgr::handleCommand(), isc::http::HttpConnection::handshakeCallback(), isc::ha::HAService::HAService(), isc::dhcp::Subnet4ConfigParser::initSubnet(), isc::dhcp::Subnet6ConfigParser::initSubnet(), isc::ha::HAService::inMaintenanceStateHandler(), isc::netconf::NetconfAgent::keaConfig(), isc::lfc::LFCController::launch(), isc::process::DControllerBase::launch(), isc::lease_cmds::LeaseCmdsImpl::lease4ResendDdnsHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6ResendDdnsHandler(), isc::lease_cmds::LeaseCmdsImpl::leaseAddHandler(), isc::dhcp::Memfile_LeaseMgr::lfcCallback(), isc::dhcp::LeaseFileLoader::load(), load(), isc::dhcp::ControlledDhcpv4Srv::loadConfigFile(), isc::hooks::LibraryManager::loadLibrary(), isc::ha::HAService::logFailedLeaseUpdates(), isc::dhcp::SrvConfig::moveDdnsParams(), isc::config::CommandMgrImpl::openCommandSocket(), isc::ha::HAConfigParser::parse(), isc::dhcp::IfacesConfigParser::parse(), isc::lfc::LFCController::parseArgs(), isc::ha::HAService::partnerDownStateHandler(), isc::ha::HAService::partnerInMaintenanceStateHandler(), isc::dhcp::PgSqlHostDataSourceImpl::PgSqlHostDataSourceImpl(), isc::dhcp::PgSqlLeaseMgr::PgSqlLeaseMgr(), isc::dhcp::HostDataSourceFactory::printRegistered(), isc::d2::SimpleAddTransaction::processAddOkHandler(), isc::d2::NameAddTransaction::processAddOkHandler(), isc::config::BaseCommandMgr::processCommand(), isc::dhcp::ControlledDhcpv6Srv::processConfig(), isc::dhcp::ControlledDhcpv4Srv::processConfig(), isc::dhcp::Dhcpv4Srv::processRelease(), isc::d2::SimpleRemoveTransaction::processRemoveOkHandler(), isc::d2::NameRemoveTransaction::processRemoveOkHandler(), isc::process::DControllerBase::processSignal(), isc::dhcp::Dhcpv6Srv::releaseIA_NA(), isc::dhcp::Dhcpv6Srv::releaseIA_PD(), isc::dhcp::Dhcpv6Srv::requiredClassify(), isc::dhcp::Dhcpv4Srv::requiredClassify(), isc::netconf::NetconfProcess::run(), isc::agent::CtrlAgentProcess::run(), isc::d2::D2Process::run(), isc::ha::HAService::sendLeaseUpdatesFromBacklog(), isc::dhcp::LFCSetup::setup(), isc::process::DCfgMgrBase::simpleParseConfig(), isc::dhcp::D2ClientMgr::startSender(), isc::stat_cmds::LeaseStatCmdsImpl::statLease4GetHandler(), isc::stat_cmds::LeaseStatCmdsImpl::statLease6GetHandler(), isc::dhcp::D2ClientMgr::stopSender(), isc::netconf::NetconfAgent::subscribeConfig(), isc::netconf::NetconfAgent::subscribeToNotifications(), isc::ha::HAService::synchronize(), unload(), isc::hooks::LibraryManager::unloadLibrary(), isc::ha::HAService::unpause(), isc::dhcp::CfgIface::use(), isc::dhcp::CfgIface::useSocketType(), isc::ha::HAConfig::validate(), isc::ha::HAService::verboseTransition(), isc::ha::HAService::waitingStateHandler(), isc::dhcp::Memfile_LeaseMgr::wipeLeases4(), isc::dhcp::Memfile_LeaseMgr::wipeLeases6(), isc::netconf::NetconfAgent::yangConfig(), isc::dhcp::ControlledDhcpv4Srv::~ControlledDhcpv4Srv(), and isc::dhcp::ControlledDhcpv6Srv::~ControlledDhcpv6Srv().

◆ LOG_WARN

#define LOG_WARN (   LOGGER,
  MESSAGE 
)
Value:
if (!(LOGGER).isWarnEnabled()) { \
} else \
(LOGGER).warn((MESSAGE))

Macro to conveniently test warn output and log it.

Definition at line 26 of file macros.h.

Referenced by isc::dhcp::AllocEngine::allocateLeases6(), isc::ha::HAService::asyncSendHAReset(), isc::ha::HAService::asyncSendHeartbeat(), isc::ha::HAService::asyncSendLeaseUpdate(), isc::ha::HAService::asyncSendLeaseUpdatesFromBacklog(), isc::ha::HAService::asyncSyncLeasesInternal(), isc::dhcp::SanityChecker::checkLeaseInternal(), isc::dhcp::ControlledDhcpv6Srv::cleanup(), isc::ha::CommunicationState::clockSkewShouldWarn(), isc::dhcp::CqlHostDataSource::CqlHostDataSource(), isc::dhcp::CqlLeaseMgr::CqlLeaseMgr(), isc::dhcp::CBControlDHCPv6::databaseConfigApply(), isc::dhcp::CBControlDHCPv4::databaseConfigApply(), isc::dhcp::Dhcpv4Srv::Dhcpv4Srv(), isc::dhcp::Subnet6ConfigParser::duplicate_option_warning(), isc::dhcp::AllocEngine::findGlobalReservation(), isc::dhcp::PgSqlLeaseStatsQuery::getNextRow(), isc::dhcp::MySqlLeaseStatsQuery::getNextRow(), isc::dhcp::AllocEngine::getValidLft(), isc::ha::HAService::isPartnerStateInvalid(), isc::process::DControllerBase::launch(), isc::dhcp::LeaseFileLoader::load(), isc::dhcp::ControlledDhcpv4Srv::loadConfigFile(), isc::dhcp::ControlledDhcpv6Srv::loadConfigFile(), isc::netconf::NetconfAgent::logChanges(), isc::log::LoggerManager::logDuplicatedMessages(), isc::log::LoggerLevelImpl::logLevelFromString(), isc::d2::DdnsDomainListMgr::matchDomain(), isc::dhcp::Memfile_LeaseMgr::Memfile_LeaseMgr(), isc::dhcp::CSVLeaseFile6::next(), isc::dhcp::CfgIface::openSockets(), isc::ha::HAConfigParser::parse(), isc::dhcp::DUIDConfigParser::parse(), isc::hooks::LibraryManager::prepareUnloadLibrary(), isc::config::BaseCommandMgr::processCommand(), isc::dhcp::Dhcpv4Srv::processDecline(), isc::netconf::NetconfController::processSignal(), isc::process::DControllerBase::processSignal(), isc::dhcp::AllocEngine::reclaimExpiredLeases4(), isc::dhcp::AllocEngine::reclaimExpiredLeases6(), isc::d2::D2Process::reconfigureQueueMgr(), isc::dhcp::Dhcpv6Srv::releaseIA_NA(), isc::dhcp::Dhcpv6Srv::releaseIA_PD(), isc::hooks::ServerHooks::reset(), isc::dhcp::CfgIface::reset(), isc::dhcp::HostMgr::setIPReservationsUnique(), isc::dhcp::SrvConfig::setIPReservationsUnique(), isc::process::DControllerBase::shutdownProcess(), isc::dhcp::D2ClientMgr::suspendUpdates(), isc::dhcp::CfgIface::use(), isc::agent::ParserContext::warning(), isc::netconf::ParserContext::warning(), isc::d2::D2ParserContext::warning(), isc::dhcp::Parser4Context::warning(), and isc::dhcp::Parser6Context::warning().