|
reSIProcate/rutil
9694
|
#include "rutil/Log.hxx"#include "rutil/Lock.hxx"#include "rutil/DataStream.hxx"#include "rutil/Data.hxx"#include "rutil/Subsystem.hxx"

Go to the source code of this file.
Namespaces | |
| namespace | resip |
dcm! -- add UnusedChecking(_enum) below; | |
Defines | |
| #define | DELIM |
| #define | CerrLog(args_) |
| #define | StackLog(args_) GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Stack, args_) |
| #define | DebugLog(args_) GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Debug, args_) |
| #define | InfoLog(args_) GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Info, args_) |
| #define | WarningLog(args_) GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Warning, args_) |
| #define | ErrLog(args_) GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Err, args_) |
| #define | CritLog(args_) GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Crit, args_) |
| #define | GenericLog(system_, level_, args_) |
Typedefs | |
| typedef Log | resip::GenericLogImpl |
| DEPRECATED! Left for backward compatibility. | |
Functions | |
| static bool | genericLogCheckLevel (resip::Log::Level level, const resip::Subsystem &sub) |
| #define CerrLog | ( | args_ | ) |
resip::Log::tags(resip::Log::StdErr, RESIPROCATE_SUBSYSTEM, \ __FILE__, __LINE__, resipCerr) << ' ' << '|' << ' ' \ args_ << std::endl;
Definition at line 120 of file Logger.hxx.
| #define CritLog | ( | args_ | ) | GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Crit, args_) |
Definition at line 140 of file Logger.hxx.
Referenced by resip::DnsUtil::getLocalDomainName(), resip::DnsUtil::getLocalHostName(), resip::increaseLimitFds(), main(), Noisy::outputLogMessages(), resip::FdPollImplFdSet::waitAndProcess(), and resip::FdPollImplFdSet::~FdPollImplFdSet().
| #define DebugLog | ( | args_ | ) | GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Debug, args_) |
Definition at line 128 of file Logger.hxx.
Referenced by resip::BaseException::BaseException(), debugLogsInCall(), resip::ParseBuffer::fail(), resip::DnsUtil::getInterfaces(), resip::DnsUtil::getLocalDomainName(), resip::AresDns::hostFileLookup(), resip::DnsUtil::lookupARecords(), main(), resip::RRVip::NaptrTransform::NaptrTransform(), resip::DnsResultSink::onLogDnsResult(), Noisy::outputLogMessages(), resip::DnsStub::Query::process(), resip::RRVip::removeVip(), resip::RRVip::SrvTransform::SrvTransform(), LogThread::thread(), resip::RRVip::Transform::transform(), resip::RRVip::NaptrTransform::transform(), resip::RRVip::SrvTransform::transform(), and resip::RRVip::Transform::updateVip().
| #define DELIM |
Definition at line 115 of file Logger.hxx.
| #define ErrLog | ( | args_ | ) | GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Err, args_) |
Definition at line 137 of file Logger.hxx.
Referenced by resip::DnsStub::DnsStub(), resip::DnsStub::Query::followCname(), resip::Random::getCryptoRandom(), resip::Random::initialize(), resip::AresDns::internalInit(), resip::DnsResultSink::onLogDnsResult(), resip::DnsStub::Query::process(), resip::FdPollGrp::processItem(), resip::setSocketRcvBufLen(), resip::DnsThread::thread(), and resip::RRList::update().
| #define GenericLog | ( | system_, | |
| level_, | |||
| args_ | |||
| ) |
do \ { \ if (genericLogCheckLevel(level_, system_)) \ { \ resip::Log::Guard _resip_log_guard(level_, system_, __FILE__, __LINE__); \ _resip_log_guard.asStream() args_; \ } \ } while (false)
Definition at line 150 of file Logger.hxx.
| #define InfoLog | ( | args_ | ) | GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Info, args_) |
Definition at line 131 of file Logger.hxx.
Referenced by resip::DnsUtil::canonicalizeIpV6Address(), resip::AresDns::checkDnsChange(), resip::closeSocket(), resip::ExternalDnsFactory::createExternalDns(), resip::DnsNaptrRecord::DnsNaptrRecord(), resip::XMLCursor::getAttributes(), resip::DnsUtil::getLocalHostName(), resip::DnsUtil::getLocalIpAddress(), resip::AresDns::internalInit(), logsInCall(), main(), Noisy::outputLogMessages(), resip::XMLCursor::parseNextRootChild(), resip::DnsStub::Query::process(), resip::setSocketRcvBufLen(), resip::XMLCursor::Node::skipToEndTag(), testThreadLocalLoggers(), LogThread::thread(), and resip::XMLCursor::XMLCursor().
| #define StackLog | ( | args_ | ) | GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Stack, args_) |
Definition at line 125 of file Logger.hxx.
Referenced by resip::XMLCursor::getAttributes(), resip::DnsStub::Query::go(), resip::DnsUtil::lookupARecords(), resip::XMLCursor::nextSibling(), resip::XMLCursor::Node::Node(), Noisy::outputLogMessages(), resip::XMLCursor::Node::skipToEndTag(), LogThread::thread(), and resip::XMLCursor::XMLCursor().
| #define WarningLog | ( | args_ | ) | GenericLog(RESIPROCATE_SUBSYSTEM, resip::Log::Warning, args_) |
Definition at line 134 of file Logger.hxx.
Referenced by resip::DnsUtil::getLocalIpAddress(), resip::Random::initialize(), resip::AresDns::internalInit(), resip::ThreadIf::join(), resip::RRList::log(), and resip::GeneralCongestionManager::logCurrentState().
| static bool genericLogCheckLevel | ( | resip::Log::Level | level, |
| const resip::Subsystem & | sub | ||
| ) | [inline, static] |
Definition at line 144 of file Logger.hxx.
References resip::Log::isLogging().
{
return resip::Log::isLogging(level, sub);
}

1.7.5.1