Kea 2.7.4
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.
 
#define LOG_ERROR(LOGGER, MESSAGE)
 Macro to conveniently test error output and log it.
 
#define LOG_FATAL(LOGGER, MESSAGE)
 Macro to conveniently test fatal output and log it.
 
#define LOG_INFO(LOGGER, MESSAGE)
 Macro to conveniently test info output and log it.
 
#define LOG_WARN(LOGGER, MESSAGE)
 Macro to conveniently test warn output and log it.
 

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::Dhcpv4Exchange::Dhcpv4Exchange(), isc::dhcp::Dhcpv4Srv::Dhcpv4Srv(), isc::dhcp::Dhcpv6Srv::Dhcpv6Srv(), isc::http::HttpClientImpl::HttpClientImpl(), isc::dhcp::ClientHandler::~ClientHandler(), isc::dhcp::LFCSetup::~LFCSetup(), isc::dhcp::Dhcpv4Srv::accept(), isc::dhcp::Dhcpv4Srv::acceptMessageType(), isc::http::HttpConnection::acceptorCallback(), isc::tcp::TcpConnection::acceptorCallback(), isc::dhcp::CfgHosts::add(), isc::dhcp::CfgSubnets4::add(), isc::dhcp::CfgSubnets6::add(), isc::dhcp::Memfile_LeaseMgr::addLease(), isc::dhcp::Memfile_LeaseMgr::addLease(), isc::dhcp::AllocEngine::allocateLeases6(), isc::dhcp::Dhcpv6Srv::assignIA_NA(), isc::dhcp::Dhcpv6Srv::assignIA_PD(), isc::dhcp::Dhcpv4Srv::assignLease(), buffer4_receive(), isc::ha::HAImpl::buffer4Receive(), isc::ha::HAImpl::buffer6Receive(), isc::dhcp::Dhcpv6Srv::buildCfgOptionList(), isc::dhcp::Dhcpv4Srv::buildCfgOptionList(), isc::dhcp::Memfile_LeaseMgr::buildExtendedInfoTables6(), isc::dhcp::calculateDdnsTtl(), isc::hooks::CalloutManager::callCallouts(), isc::dhcp::TimerMgr::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::flex_option::FlexOptionImpl::checkVendor(), isc::hooks::LibraryManager::checkVersion(), isc::dhcp::Memfile_LeaseMgr::commit(), isc::d2::D2Process::configure(), isc::dhcp::configureDhcp4Server(), isc::dhcp::configureDhcp6Server(), 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::CfgHosts::del(), isc::dhcp::HostDataSourceFactory::del(), isc::dhcp::HostDataSourceFactory::del(), isc::dhcp::CfgHosts::del4(), isc::dhcp::CfgHosts::del6(), isc::dhcp::CfgHosts::delAll4(), isc::dhcp::CfgHosts::delAll6(), isc::dhcp::AllocEngine::deleteExpiredReclaimedLeases4(), isc::dhcp::Memfile_LeaseMgr::deleteExpiredReclaimedLeases4(), isc::dhcp::AllocEngine::deleteExpiredReclaimedLeases6(), isc::dhcp::Memfile_LeaseMgr::deleteExpiredReclaimedLeases6(), isc::dhcp::Memfile_LeaseMgr::deleteLease(), isc::dhcp::Memfile_LeaseMgr::deleteLease(), isc::hooks::CalloutManager::deregisterAllCallouts(), isc::hooks::CalloutManager::deregisterCallout(), isc::config::BaseCommandMgr::deregisterCommand(), isc::dhcp::HostDataSourceFactory::deregisterFactory(), isc::dhcp::LeaseMgrFactory::deregisterFactory(), isc::dhcp::LeaseMgrFactory::destroy(), dhcp4_srv_configured(), dhcp6_srv_configured(), isc::netconf::NetconfAgent::done(), isc::tcp::TcpConnection::doWrite(), isc::dhcp::Dhcpv4Srv::earlyGHRLookup(), isc::dhcp::Dhcpv6Srv::earlyGHRLookup(), isc::dhcp::TokenString::evaluate(), isc::dhcp::TokenHexString::evaluate(), isc::dhcp::TokenLowerCase::evaluate(), isc::dhcp::TokenUpperCase::evaluate(), isc::dhcp::TokenIpAddress::evaluate(), isc::dhcp::TokenIpAddressToText::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::TokenSplit::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::TokenMatch::evaluate(), isc::dhcp::TokenBranch::evaluate(), isc::dhcp::TokenPopOrBranchTrue::evaluate(), isc::dhcp::TokenPopOrBranchFalse::evaluate(), isc::dhcp::TokenPopAndBranchFalse::evaluate(), isc::dhcp::Dhcpv6Srv::extendIA_NA(), isc::dhcp::Dhcpv6Srv::extendIA_PD(), isc::dhcp::Memfile_LeaseMgr::extractExtendedInfo4(), isc::config::CmdResponseCreator::filterCommand(), isc::dhcp::CfgHosts::get4(), isc::dhcp::HostMgr::get4(), isc::dhcp::HostMgr::get4Any(), isc::dhcp::HostMgr::get6(), isc::dhcp::HostMgr::get6(), isc::dhcp::HostMgr::get6Any(), isc::dhcp::HostMgr::getAll4(), isc::dhcp::HostMgr::getAll6(), isc::dhcp::Memfile_LeaseMgr::getExpiredLeases4(), isc::dhcp::Memfile_LeaseMgr::getExpiredLeases6(), isc::dhcp::Memfile_LeaseMgr::getLease4(), isc::dhcp::Memfile_LeaseMgr::getLease4(), isc::dhcp::Memfile_LeaseMgr::getLease4(), isc::dhcp::Memfile_LeaseMgr::getLease4(), isc::dhcp::Memfile_LeaseMgr::getLease4(), isc::dhcp::Memfile_LeaseMgr::getLease6(), isc::dhcp::Memfile_LeaseMgr::getLeases4(), isc::dhcp::Memfile_LeaseMgr::getLeases4(), isc::dhcp::Memfile_LeaseMgr::getLeases4(), isc::dhcp::Memfile_LeaseMgr::getLeases4(), isc::dhcp::Memfile_LeaseMgr::getLeases4ByRelayId(), isc::dhcp::Memfile_LeaseMgr::getLeases4ByRemoteId(), isc::dhcp::Memfile_LeaseMgr::getLeases6(), isc::dhcp::Memfile_LeaseMgr::getLeases6(), isc::dhcp::Memfile_LeaseMgr::getLeases6(), isc::dhcp::Memfile_LeaseMgr::getLeases6(), isc::dhcp::Memfile_LeaseMgr::getLeases6(), isc::dhcp::Memfile_LeaseMgr::getLeases6(), isc::dhcp::Memfile_LeaseMgr::getLeases6(), isc::dhcp::Memfile_LeaseMgr::getLeases6(), isc::dhcp::Memfile_LeaseMgr::getLeases6ByRelayId(), isc::dhcp::Memfile_LeaseMgr::getLeases6ByRemoteId(), isc::dhcp::AllocEngine::getLifetimes6(), isc::agent::CtrlAgentCommandMgr::handleCommand(), isc::dhcp::Dhcp4to6Ipc::handler(), isc::dhcp::Dhcp6to4Ipc::handler(), isc::http::HttpConnection::handshakeCallback(), isc::tcp::TcpConnection::handshakeCallback(), isc::http::HttpConnection::idleTimeoutCallback(), isc::tcp::TcpConnection::idleTimeoutCallback(), isc::dhcp::Dhcpv6Srv::initContext(), isc::process::DControllerBase::initProcess(), isc::netconf::NetconfAgent::keaConfig(), isc::process::DControllerBase::launch(), isc::lease_cmds::LeaseCmdsImpl::lease4DelHandler(), isc::lease_cmds::LeaseCmdsImpl::lease4UpdateHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6BulkApplyHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6DelHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6UpdateHandler(), isc::lease_cmds::LeaseCmdsImpl::leaseAddHandler(), isc::ha::HAImpl::leases4Committed(), isc::ha::HAImpl::leases6Committed(), isc::dhcp::LeaseFileLoader::load(), isc::ha::QueryFilter::loadBalance(), isc::ha::QueryFilter::loadBalance(), isc::hooks::LibraryManager::loadLibrary(), isc::flex_option::FlexOptionImpl::logAction(), isc::flex_option::FlexOptionImpl::logAction(), isc::netconf::NetconfAgent::logChanges(), isc::flex_option::FlexOptionImpl::logClass(), isc::flex_option::FlexOptionImpl::logSubAction(), isc::flex_option::FlexOptionImpl::logSubClass(), main(), isc::stat_cmds::LeaseStatCmdsImpl::makeResultSet4(), isc::stat_cmds::LeaseStatCmdsImpl::makeResultSet6(), isc::d2::D2UpdateMgr::makeTransaction(), isc::d2::DNSClientImpl::operator()(), isc::d2::D2QueueMgr::operator()(), isc::dhcp::D2ClientMgr::operator()(), isc::d2::NameChangeTransaction::operator()(), isc::d2::D2UpdateMgr::pickNextJob(), pkt4_send(), pkt6_send(), isc::dhcp::Dhcpv4Srv::postAllocateNameUpdate(), isc::tcp::TcpConnection::postData(), isc::hooks::LibraryManager::prepareUnloadLibrary(), isc::dhcp::Dhcpv6Srv::processClientFqdn(), isc::dhcp::Dhcpv4Srv::processClientName(), isc::dhcp::ControlledDhcpv4Srv::processConfig(), isc::dhcp::ControlledDhcpv6Srv::processConfig(), isc::dhcp::Dhcpv6Srv::processConfirm(), isc::dhcp::Dhcpv6Srv::processDecline(), isc::dhcp::Dhcpv4Srv::processDhcp4Query(), isc::dhcp::Dhcpv4Srv::processDiscover(), isc::dhcp::Dhcpv4Srv::processInform(), isc::dhcp::Dhcpv6Srv::processInfRequest(), isc::dhcp::Dhcpv4Srv::processLocalizedQuery4(), isc::dhcp::Dhcpv6Srv::processLocalizedQuery6(), isc::dhcp::Dhcpv4Srv::processPacket(), isc::dhcp::Dhcpv6Srv::processPacket(), isc::dhcp::Dhcpv4Srv::processPacketBufferSend(), isc::dhcp::Dhcpv6Srv::processPacketBufferSend(), isc::dhcp::Dhcpv4Srv::processPacketPktSend(), isc::dhcp::Dhcpv6Srv::processPacketPktSend(), isc::perfmon::PerfMonMgr::processPktEventStack(), isc::dhcp::Dhcpv6Srv::processRebind(), isc::dhcp::Dhcpv6Srv::processRelease(), isc::dhcp::Dhcpv4Srv::processRelease(), isc::dhcp::Dhcpv6Srv::processRenew(), isc::dhcp::Dhcpv6Srv::processRequest(), isc::dhcp::Dhcpv4Srv::processRequest(), isc::process::DControllerBase::processSignal(), isc::dhcp::Dhcpv6Srv::processSolicit(), isc::dhcp_ddns::NameChangeUDPListener::receiveCompletionHandler(), isc::dhcp::AllocEngine::reclaimExpiredLeases4(), isc::dhcp::AllocEngine::reclaimExpiredLeases4Internal(), isc::dhcp::AllocEngine::reclaimExpiredLeases6(), isc::dhcp::AllocEngine::reclaimExpiredLeases6Internal(), isc::dhcp::Dhcpv4Srv::recoverStashedAgentOption(), isc::hooks::CalloutManager::registerCallout(), isc::config::BaseCommandMgr::registerCommand(), isc::config::BaseCommandMgr::registerExtendedCommand(), isc::dhcp::HostDataSourceFactory::registerFactory(), isc::dhcp::LeaseMgrFactory::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::Memfile_LeaseMgr::rollback(), isc::agent::CtrlAgentProcess::run(), isc::d2::D2Process::run(), isc::netconf::NetconfProcess::run(), isc::hooks::LibraryManager::runLoad(), isc::dhcp::Dhcpv4Srv::runOne(), isc::dhcp::Dhcpv6Srv::runOne(), isc::process::DControllerBase::runProcess(), isc::dhcp::Dhcpv6Srv::sanityCheck(), isc::dhcp::CfgSubnets4::selectSubnet(), isc::dhcp::CfgSubnets6::selectSubnet(), isc::dhcp::Dhcpv4Srv::selectSubnet(), isc::dhcp::Dhcpv6Srv::selectSubnet(), isc::dhcp::CfgSubnets4::selectSubnet(), isc::dhcp::CfgSubnets4::selectSubnet(), isc::dhcp::Dhcpv4Srv::selectSubnet4o6(), isc::dhcp::CfgSubnets4::selectSubnet4o6(), isc::d2::NameChangeTransaction::sendUpdate(), isc::dhcp::D2ClientMgr::setD2ClientConfig(), isc::dhcp::Dhcpv4Exchange::setHostIdentifiers(), isc::dhcp::Dhcpv6Srv::setHostIdentifiers(), isc::dhcp::TimerMgr::setup(), isc::dhcp::Dhcpv4Srv::shutdown(), isc::dhcp::Dhcpv6Srv::shutdown(), isc::d2::D2Process::shutdown(), isc::http::HttpConnection::shutdownConnection(), isc::tcp::TcpConnection::shutdownConnection(), isc::process::DCfgMgrBase::simpleParseConfig(), isc::tcp::TcpConnection::socketReadCallback(), isc::http::HttpConnection::socketReadCallback(), isc::tcp::TcpConnection::socketWriteCallback(), isc::config::CmdHttpListener::start(), isc::tcp::MtTcpListenerMgr::start(), isc::d2::D2QueueMgr::startListening(), isc::d2::NameChangeTransaction::startTransaction(), isc::config::CmdHttpListener::stop(), isc::tcp::MtTcpListenerMgr::stop(), isc::asiodns::IOFetch::stop(), isc::http::HttpConnection::stopThisConnection(), isc::tcp::TcpConnection::stopThisConnection(), isc::ha::HAImpl::subnet4Select(), isc::ha::HAImpl::subnet6Select(), isc::d2::D2UpdateMgr::sweep(), isc::dhcp::ClientClassDef::test(), isc::dhcp::TemplateClientClassDef::test(), isc::dhcp::Dhcpv6Srv::testServerID(), isc::dhcp::Dhcpv6Srv::testUnicast(), isc::dhcp::ClientHandler::tryLock(), isc::dhcp::ClientHandler::tryLock(), isc::hooks::LibraryManager::unloadLibrary(), isc::dhcp::TimerMgr::unregisterTimer(), isc::dhcp::TimerMgr::unregisterTimers(), isc::dhcp::CfgHosts::update(), isc::dhcp::Memfile_LeaseMgr::updateLease4(), isc::dhcp::Memfile_LeaseMgr::updateLease6(), isc::dhcp::LeaseMgr::upgradeLease4ExtendedInfo(), isc::dhcp::LeaseMgr::upgradeLease6ExtendedInfo(), isc::dhcp::CfgIface::use(), and isc::netconf::NetconfAgent::yangConfig().

◆ 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::dhcp::Dhcpv4Srv::Dhcpv4Srv(), isc::dhcp::Dhcpv6Srv::Dhcpv6Srv(), isc::process::DControllerBase::~DControllerBase(), isc::dhcp::Dhcpv4Srv::~Dhcpv4Srv(), isc::dhcp::Dhcpv6Srv::~Dhcpv6Srv(), isc::d2::CheckExistsAddTransaction::addingFwdAddrsHandler(), 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::dhcp::Memfile_LeaseMgr::buildExtendedInfoTables6(), isc::hooks::CalloutManager::callCallouts(), 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::http::HttpConnection::clearWatchSocket(), isc::hooks::LibraryManager::closeLibrary(), isc::http::HttpConnection::closeWatchSocket(), command_processed(), isc::d2::D2Process::configure(), isc::dhcp::configureDhcp4Server(), isc::dhcp::configureDhcp6Server(), continue_command(), isc::dhcp::LeaseMgrFactory::create(), isc::dhcp::Dhcpv4Srv::d2ClientErrorHandler(), isc::dhcp::Dhcpv6Srv::d2ClientErrorHandler(), 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::config::UnixCommandMgrImpl::doAccept(), isc::netconf::NetconfAgent::done(), isc::dhcp::TokenMatch::evaluate(), isc::dhcp::LFCSetup::execute(), isc::log::getDestination(), isc::log::getSeverity(), isc::log::getStream(), ha_reset_command(), isc::process::DControllerBase::handleOtherObjects(), isc::dhcp::Dhcp4to6Ipc::handler(), isc::dhcp::Dhcp6to4Ipc::handler(), heartbeat_command(), isc::dhcp::D2ClientMgr::invokeClientErrorHandler(), isc::dhcp_ddns::NameChangeListener::invokeRecvHandler(), isc::netconf::NetconfAgent::keaConfig(), lease4_server_decline(), isc::lease_cmds::LeaseCmdsImpl::lease4DelHandler(), isc::lease_cmds::LeaseCmdsImpl::lease4ResendDdnsHandler(), isc::lease_cmds::LeaseCmdsImpl::lease4UpdateHandler(), isc::lease_cmds::LeaseCmdsImpl::lease4WipeHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6BulkApplyHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6DelHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6ResendDdnsHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6UpdateHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6WipeHandler(), isc::lease_cmds::LeaseCmdsImpl::leaseAddHandler(), isc::lease_cmds::LeaseCmdsImpl::leaseGetHandler(), leases4_committed(), isc::ha::HAImpl::leases4Committed(), leases6_committed(), isc::ha::HAImpl::leases6Committed(), isc::dhcp::LeaseFileLoader::load(), load(), load(), isc::dhcp::ControlledDhcpv4Srv::loadConfigFile(), isc::dhcp::ControlledDhcpv6Srv::loadConfigFile(), isc::log::LoggerLevelImpl::logLevelFromString(), main(), maintenance_cancel_command(), maintenance_notify_command(), maintenance_start_command(), isc::d2::D2UpdateMgr::makeTransaction(), isc::http::HttpConnection::markWatchSocketReady(), isc::d2::NameChangeTransaction::onModelFailure(), isc::hooks::LibraryManager::openLibrary(), isc::d2::D2QueueMgr::operator()(), isc::agent::CtrlAgentCfgMgr::parse(), isc::d2::D2CfgMgr::parse(), isc::netconf::NetconfCfgMgr::parse(), isc::ha::HAService::pauseClientAndListener(), isc::perfmon::PerfMonMgr::perfmonControlHandler(), isc::perfmon::PerfMonMgr::perfmonGetAllDurationsHandler(), pkt4_send(), pkt6_send(), isc::dhcp::Dhcpv4Srv::postAllocateNameUpdate(), isc::tcp::TcpConnection::postData(), isc::hooks::LibraryManager::prepareUnloadLibrary(), isc::d2::CheckExistsAddTransaction::processAddFailedHandler(), isc::d2::NameAddTransaction::processAddFailedHandler(), isc::d2::SimpleAddTransaction::processAddFailedHandler(), isc::d2::SimpleAddWithoutDHCIDTransaction::processAddFailedHandler(), isc::dhcp::processDhcp4Config(), isc::dhcp::Dhcpv4Srv::processDhcp4QueryAndSendResponse(), isc::dhcp::processDhcp6Config(), isc::dhcp::Dhcpv6Srv::processDhcp6QueryAndSendResponse(), isc::dhcp::Dhcpv4Srv::processDiscover(), isc::dhcp::Dhcpv4Srv::processLocalizedQuery4(), isc::dhcp::Dhcpv4Srv::processLocalizedQuery4AndSendResponse(), isc::dhcp::Dhcpv6Srv::processLocalizedQuery6AndSendResponse(), isc::ha::HAService::processMaintenanceCancel(), isc::ha::HAService::processMaintenanceStart(), isc::dhcp::Dhcpv4Srv::processPacketAndSendResponseNoThrow(), isc::dhcp::Dhcpv6Srv::processPacketAndSendResponseNoThrow(), isc::dhcp::Dhcpv4Srv::processPacketBufferSend(), isc::dhcp::Dhcpv6Srv::processPacketBufferSend(), isc::dhcp::Dhcpv4Srv::processPacketPktSend(), isc::dhcp::Dhcpv6Srv::processPacketPktSend(), isc::dhcp::Dhcpv4Srv::processRelease(), isc::d2::CheckExistsRemoveTransaction::processRemoveFailedHandler(), isc::d2::NameRemoveTransaction::processRemoveFailedHandler(), isc::d2::SimpleRemoveTransaction::processRemoveFailedHandler(), isc::d2::SimpleRemoveWithoutDHCIDTransaction::processRemoveFailedHandler(), isc::dhcp::Dhcpv4Srv::processRequest(), isc::process::DControllerBase::processSignal(), isc::dhcp_ddns::NameChangeUDPListener::receiveCompletionHandler(), isc::dhcp::AllocEngine::reclaimExpiredLeases4(), isc::dhcp::AllocEngine::reclaimExpiredLeases4Internal(), isc::dhcp::AllocEngine::reclaimExpiredLeases6(), isc::dhcp::AllocEngine::reclaimExpiredLeases6Internal(), isc::d2::D2Process::reconfigureQueueMgr(), isc::dhcp::Dhcpv6Srv::releaseIA_NA(), isc::dhcp::Dhcpv6Srv::releaseIA_PD(), isc::d2::CheckExistsRemoveTransaction::removingFwdAddrsHandler(), isc::d2::NameRemoveTransaction::removingFwdAddrsHandler(), isc::d2::CheckExistsRemoveTransaction::removingFwdRRsHandler(), isc::d2::NameRemoveTransaction::removingFwdRRsHandler(), isc::d2::SimpleRemoveTransaction::removingFwdRRsHandler(), isc::d2::SimpleRemoveWithoutDHCIDTransaction::removingFwdRRsHandler(), isc::d2::CheckExistsRemoveTransaction::removingRevPtrsHandler(), isc::d2::NameRemoveTransaction::removingRevPtrsHandler(), isc::d2::SimpleRemoveTransaction::removingRevPtrsHandler(), isc::d2::SimpleRemoveWithoutDHCIDTransaction::removingRevPtrsHandler(), isc::dhcp::AllocEngine::renewLeases6(), isc::d2::CheckExistsAddTransaction::replacingFwdAddrsHandler(), isc::d2::NameAddTransaction::replacingFwdAddrsHandler(), isc::d2::SimpleAddTransaction::replacingFwdAddrsHandler(), isc::d2::SimpleAddWithoutDHCIDTransaction::replacingFwdAddrsHandler(), isc::d2::CheckExistsAddTransaction::replacingRevPtrsHandler(), isc::d2::NameAddTransaction::replacingRevPtrsHandler(), isc::d2::SimpleAddTransaction::replacingRevPtrsHandler(), isc::d2::SimpleAddWithoutDHCIDTransaction::replacingRevPtrsHandler(), isc::dhcp::Dhcpv6Srv::requiredClassify(), isc::dhcp::Dhcpv4Srv::requiredClassify(), isc::ha::HAService::resumeClientAndListener(), isc::dhcp::Dhcpv4Srv::run(), isc::dhcp::Dhcpv6Srv::run(), isc::hooks::LibraryManager::runLoad(), isc::dhcp::Dhcpv4Srv::runOne(), isc::dhcp::Dhcpv6Srv::runOne(), scopes_command(), isc::dhcp_ddns::NameChangeUDPSender::sendCompletionHandler(), isc::dhcp::D2ClientMgr::sendRequest(), isc::dhcp::Dhcpv4Srv::sendResponseNoThrow(), isc::dhcp::Dhcpv6Srv::sendResponseNoThrow(), isc::d2::NameChangeTransaction::sendUpdate(), isc::dhcp::Dhcpv4Srv::serverDecline(), isc::dhcp::Dhcpv4Srv::serverDeclineNoThrow(), isc::http::HttpConnection::shutdownConnection(), isc::tcp::TcpConnection::shutdownConnection(), isc::process::DCfgMgrBase::simpleParseConfig(), isc::stat_cmds::LeaseStatCmdsImpl::statLease4GetHandler(), isc::stat_cmds::StatCmds::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(), isc::tcp::TcpConnection::stopThisConnection(), subnet4_select(), isc::ha::HAImpl::subnet4Select(), subnet6_select(), isc::ha::HAImpl::subnet6Select(), isc::netconf::NetconfAgent::subscribeToDataChanges(), isc::netconf::NetconfAgent::subscribeToNotifications(), sync_command(), sync_complete_notify_command(), isc::ha::HAService::synchronize(), isc::dhcp::ClientClassDef::test(), isc::dhcp::TemplateClientClassDef::test(), isc::db::DatabaseConnection::toElement(), unload(), isc::dhcp::LeaseMgr::upgradeLease4ExtendedInfo(), isc::dhcp::LeaseMgr::upgradeLease6ExtendedInfo(), and isc::netconf::NetconfAgent::yangConfig().

◆ 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::lfc::LFCController::launch(), isc::process::DControllerBase::launch(), main(), isc::agent::CtrlAgentProcess::run(), isc::d2::D2Process::run(), and isc::netconf::NetconfProcess::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::HAService(), isc::ha::HAService::adjustNetworkState(), isc::ha::CommunicationState4::analyzeMessageInternal(), isc::ha::CommunicationState6::analyzeMessageInternal(), isc::dhcp::Dhcpv6Srv::assignIA_NA(), isc::dhcp::Dhcpv6Srv::assignIA_PD(), isc::dhcp::Dhcpv4Srv::assignLease(), isc::dhcp::Memfile_LeaseMgr::buildExtendedInfoTables6(), isc::netconf::NetconfAgent::change(), isc::http::BasicHttpAuthConfig::checkAuth(), isc::dhcp::HostMgr::checkCacheBackend(), isc::dhcp::SanityChecker::checkLeaseInternal(), isc::d2::D2Process::checkQueueStatus(), isc::config::HttpCommandMgrImpl::close(), isc::hooks::LibraryManager::closeLibrary(), isc::ha::HAService::conditionalLogPausedState(), isc::config::HttpCommandMgrImpl::configure(), isc::agent::CtrlAgentProcess::configure(), isc::dhcp::configureDhcp4Server(), isc::dhcp::configureDhcp6Server(), isc::dhcp::CfgDbAccess::createManagers(), isc::dhcp::CBControlDHCPv4::databaseConfigApply(), isc::dhcp::CBControlDHCPv6::databaseConfigApply(), isc::process::CBControlBase< ConfigBackendMgrType >::databaseConfigConnect(), isc::process::CBControlBase< ConfigBackendMgrType >::databaseConfigFetch(), isc::dhcp::Dhcpv6Srv::declineIA(), isc::dhcp::Dhcpv4Srv::declineLease(), isc::dhcp::Dhcpv6Srv::declineLease(), isc::netconf::NetconfAgent::done(), isc::dhcp::LFCSetup::execute(), isc::dhcp::Dhcpv6Srv::extendIA_NA(), isc::dhcp::Dhcpv6Srv::extendIA_PD(), isc::dhcp::Memfile_LeaseMgr::extractExtendedInfo4(), isc::dhcp::Memfile_LeaseMgr::factory(), isc::agent::CtrlAgentCommandMgr::handleCommand(), isc::http::HttpConnection::handshakeCallback(), isc::tcp::TcpConnection::handshakeCallback(), isc::dhcp::Allocator::initAfterConfigure(), isc::dhcp::Subnet4ConfigParser::initSubnet(), isc::dhcp::Subnet6ConfigParser::initSubnet(), isc::netconf::NetconfAgent::keaConfig(), isc::lfc::LFCController::launch(), isc::process::DControllerBase::launch(), isc::lease_cmds::LeaseCmdsImpl::lease4ResendDdnsHandler(), isc::lease_cmds::LeaseCmdsImpl::lease4WipeHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6ResendDdnsHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6WipeHandler(), isc::dhcp::Memfile_LeaseMgr::lfcCallback(), isc::dhcp::LeaseFileLoader::load(), load(), load(), isc::hooks::LibraryManager::loadLibrary(), isc::ha::HAService::logFailedLeaseUpdates(), isc::dhcp::HostDataSourceFactory::logRegistered(), isc::dhcp::LeaseMgrFactory::logRegistered(), main(), isc::config::UnixCommandMgrImpl::openCommandSocket(), isc::dhcp::IfacesConfigParser::parse(), isc::perfmon::PerfMonMgr::perfmonControlHandler(), isc::perfmon::PerfMonMgr::perfmonGetAllDurationsHandler(), isc::d2::CheckExistsAddTransaction::processAddOkHandler(), isc::d2::NameAddTransaction::processAddOkHandler(), isc::d2::SimpleAddTransaction::processAddOkHandler(), isc::d2::SimpleAddWithoutDHCIDTransaction::processAddOkHandler(), isc::config::BaseCommandMgr::processCommand(), isc::dhcp::ControlledDhcpv4Srv::processConfig(), isc::dhcp::ControlledDhcpv6Srv::processConfig(), isc::dhcp::Dhcpv4Srv::processPacket(), isc::dhcp::Dhcpv6Srv::processPacket(), isc::dhcp::Dhcpv4Srv::processPacketBufferSend(), isc::dhcp::Dhcpv6Srv::processPacketBufferSend(), isc::dhcp::Dhcpv4Srv::processRelease(), isc::d2::CheckExistsRemoveTransaction::processRemoveOkHandler(), isc::d2::NameRemoveTransaction::processRemoveOkHandler(), isc::d2::SimpleRemoveTransaction::processRemoveOkHandler(), isc::d2::SimpleRemoveWithoutDHCIDTransaction::processRemoveOkHandler(), isc::process::DControllerBase::processSignal(), isc::dhcp::Dhcpv6Srv::releaseIA_NA(), isc::dhcp::Dhcpv6Srv::releaseIA_PD(), isc::perfmon::PerfMonMgr::reportAlarm(), isc::agent::CtrlAgentProcess::run(), isc::d2::D2Process::run(), isc::netconf::NetconfProcess::run(), isc::ha::HAService::sendLeaseUpdatesFromBacklog(), isc::dhcp::Dhcpv4Srv::serverDecline(), 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::subscribeToDataChanges(), 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::dhcp::Memfile_LeaseMgr::wipeLeases4(), isc::dhcp::Memfile_LeaseMgr::wipeLeases6(), and isc::netconf::NetconfAgent::yangConfig().

◆ 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::Dhcpv4Srv::Dhcpv4Srv(), isc::dhcp::Memfile_LeaseMgr::Memfile_LeaseMgr(), isc::ha::HAService::asyncSendHAReset(), isc::ha::HAService::asyncSendHeartbeat(), isc::ha::HAService::asyncSendLeaseUpdate(), isc::ha::HAService::asyncSendLeaseUpdatesFromBacklog(), isc::dhcp::SanityChecker::checkLeaseInternal(), isc::netconf::NetconfAgent::checkModules(), isc::config::HttpCommandMgrImpl::configure(), isc::dhcp::CBControlDHCPv4::databaseConfigApply(), isc::dhcp::CBControlDHCPv6::databaseConfigApply(), isc::dhcp::Subnet6ConfigParser::duplicateOptionWarning(), isc::ha::HAService::isPartnerStateInvalid(), isc::process::DControllerBase::launch(), isc::lease_cmds::LeaseCmdsImpl::lease4UpdateHandler(), isc::lease_cmds::LeaseCmdsImpl::lease4WipeHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6UpdateHandler(), isc::lease_cmds::LeaseCmdsImpl::lease6WipeHandler(), isc::lease_cmds::LeaseCmdsImpl::leaseAddHandler(), isc::dhcp::LeaseFileLoader::load(), isc::dhcp::ControlledDhcpv4Srv::loadConfigFile(), isc::dhcp::ControlledDhcpv6Srv::loadConfigFile(), isc::log::LoggerManager::logDuplicatedMessages(), isc::log::LoggerLevelImpl::logLevelFromString(), main(), isc::d2::DdnsDomainListMgr::matchDomain(), isc::dhcp::CfgIface::openSockets(), isc::dhcp::DUIDConfigParser::parse(), isc::dhcp::DHCPQueueControlParser::parse(), isc::dhcp::BaseNetworkParser::parseCommon(), isc::hooks::LibraryManager::prepareUnloadLibrary(), isc::config::BaseCommandMgr::processCommand(), isc::dhcp::Dhcpv4Srv::processDecline(), isc::dhcp::processDhcp4Config(), isc::dhcp::processDhcp6Config(), isc::process::DControllerBase::processSignal(), isc::netconf::NetconfController::processSignal(), isc::dhcp::Dhcp4o6IpcBase::receive(), isc::dhcp::AllocEngine::reclaimExpiredLeases4Internal(), isc::dhcp::AllocEngine::reclaimExpiredLeases6Internal(), isc::d2::D2Process::reconfigureQueueMgr(), isc::dhcp::Dhcpv6Srv::releaseIA_NA(), isc::dhcp::Dhcpv6Srv::releaseIA_PD(), isc::perfmon::PerfMonMgr::reportAlarm(), isc::hooks::ServerHooks::reset(), isc::dhcp::TrackingLeaseMgr::runCallbacksForSubnetID(), isc::dhcp::HostMgr::setIPReservationsUnique(), isc::dhcp::SrvConfig::setIPReservationsUnique(), isc::process::DControllerBase::shutdownProcess(), isc::netconf::NetconfAgent::subscribeToNotifications(), isc::dhcp::D2ClientMgr::suspendUpdates(), isc::dhcp::CfgIface::use(), isc::ha::HAConfig::validate(), isc::agent::ParserContext::warning(), isc::d2::D2ParserContext::warning(), isc::dhcp::Parser4Context::warning(), isc::dhcp::Parser6Context::warning(), and isc::netconf::ParserContext::warning().