#include "OW_config.h"
#include "OW_CommonFwd.hpp"
#include "OW_String.hpp"
#include "OW_LogLevel.hpp"
#include "OW_IntrusiveCountableBase.hpp"
#include "OW_Exception.hpp"
Include dependency graph for OW_Logger.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | OW_NAMESPACE |
Classes | |
class | OW_NAMESPACE::LoggerException |
class | OW_NAMESPACE::Logger |
Logging interface. More... | |
Defines | |
#define | OW_LOGGER_PRETTY_FUNCTION __PRETTY_FUNCTION__ |
#define | OW_LOG_DEBUG(logger, message) |
Log message to logger with the Debug level. | |
#define | OW_LOG_INFO(logger, message) |
Log message to logger with the Info level. | |
#define | OW_LOG_ERROR(logger, message) |
Log message to logger with the Error level. | |
#define | OW_LOG_FATAL_ERROR(logger, message) |
Log message to logger with the FatalError level. | |
#define | OW_LOG(logger, category, message) |
Log message to logger with the specified category. |
|
Value: do \ { \ if ((logger)->categoryIsEnabled((category))) \ { \ (logger)->logMessage((category), (message), __FILE__, __LINE__, OW_LOGGER_PRETTY_FUNCTION); \ } \ } while (0) message is only evaluated if logger->categoryIsEnabled(category) == true __FILE__ and __LINE__ are logged.
Definition at line 415 of file OW_Logger.hpp. |
|
|
Value: do \ { \ if ((logger)->getLogLevel() >= ::OW_NAMESPACE::E_ERROR_LEVEL) \ { \ (logger)->logMessage(::OW_NAMESPACE::Logger::STR_ERROR_CATEGORY, (message), __FILE__, __LINE__, OW_LOGGER_PRETTY_FUNCTION); \ } \ } while (0) message is only evaluated if logger->getLogLevel() >= E_ERROR_LEVEL __FILE__ and __LINE__ are logged.
Definition at line 384 of file OW_Logger.hpp. Referenced by OW_NAMESPACE::IndicationServerImplThread::_processIndication(), OW_NAMESPACE::AssocDb::addEntry(), OW_NAMESPACE::IndicationServerImplThread::addTrans(), OW_NAMESPACE::LocalAuthentication::cleanupEntry(), OW_NAMESPACE::SafeLibCreate< T >::create(), OW_NAMESPACE::RemoteSecondaryInstanceProvider::createInstance(), OW_NAMESPACE::dbErrorCallback(), OW_NAMESPACE::RemoteSecondaryInstanceProvider::deleteInstance(), OW_NAMESPACE::MOF::LoggerErrHandler::doFatalError(), OWBI1::BI1ProviderIFC::doGetAssociatorProvider(), OW_NAMESPACE::PerlProviderIFC::doGetAssociatorProvider(), OW_NAMESPACE::NPIProviderIFC::doGetAssociatorProvider(), OW_NAMESPACE::CppProviderIFC::doGetAssociatorProvider(), OW_NAMESPACE::CMPIProviderIFC::doGetAssociatorProvider(), OWBI1::BI1ProviderIFC::doGetIndicationProvider(), OW_NAMESPACE::PerlProviderIFC::doGetIndicationProvider(), OW_NAMESPACE::NPIProviderIFC::doGetIndicationProvider(), OW_NAMESPACE::CppProviderIFC::doGetIndicationProvider(), OW_NAMESPACE::CMPIProviderIFC::doGetIndicationProvider(), OWBI1::BI1ProviderIFC::doGetInstanceProvider(), OW_NAMESPACE::PerlProviderIFC::doGetInstanceProvider(), OW_NAMESPACE::NPIProviderIFC::doGetInstanceProvider(), OW_NAMESPACE::CppProviderIFC::doGetInstanceProvider(), OW_NAMESPACE::CMPIProviderIFC::doGetInstanceProvider(), OWBI1::BI1ProviderIFC::doGetMethodProvider(), OW_NAMESPACE::PerlProviderIFC::doGetMethodProvider(), OW_NAMESPACE::NPIProviderIFC::doGetMethodProvider(), OW_NAMESPACE::CppProviderIFC::doGetMethodProvider(), OW_NAMESPACE::CMPIProviderIFC::doGetMethodProvider(), OWBI1::BI1ProviderIFC::doGetSecondaryInstanceProvider(), OW_NAMESPACE::CppProviderIFC::doGetSecondaryInstanceProvider(), OW_NAMESPACE::RemoteProviderInterface::doInit(), OW_NAMESPACE::MOF::LoggerErrHandler::doRecoverableError(), OW_NAMESPACE::SLPProvider::doSlpRegister(), OW_NAMESPACE::ProviderManager::getProviderIFC(), OW_NAMESPACE::RemoteProviderUtils::getRemoteClientCIMOMHandle(), OW_NAMESPACE::CIMOMEnvironment::getRequestHandler(), OW_NAMESPACE::EmbeddedCIMOMEnvironment::getWQLRef(), OW_NAMESPACE::CIMOMEnvironment::getWQLRef(), OW_NAMESPACE::PerlProviderIFC::loadNoIdProviders(), OW_NAMESPACE::NPIProviderIFC::loadNoIdProviders(), OW_NAMESPACE::CMPIProviderIFC::loadNoIdProviders(), OWBI1::BI1ProviderIFC::loadProvider(), OW_NAMESPACE::CppProviderIFC::loadProvider(), OWBI1::BI1ProviderIFC::loadProviders(), OW_NAMESPACE::PerlProviderIFC::loadProviders(), OW_NAMESPACE::CppProviderIFC::loadProviders(), OW_NAMESPACE::dlSharedLibraryLoader::loadSharedLibrary(), OW_NAMESPACE::RemoteSecondaryInstanceProvider::modifyInstance(), OW_NAMESPACE::LifecycleIndicationPoller::poll(), OW_NAMESPACE::processProviderClassExtraInfo(), OW_NAMESPACE::processProviderInfo(), OW_NAMESPACE::registerProviderInfo(), OW_NAMESPACE::PollingManagerThread::TriggerRunner::run(), OW_NAMESPACE::IndicationServerImplThread::run(), OW_NAMESPACE::OpenWBEM_ObjectManagerInstProv::shuttingDown(), OW_NAMESPACE::slpRegReport(), OW_NAMESPACE::HTTPServer::start(), OW_NAMESPACE::CIMOMEnvironment::unloadReqHandlers(), OW_NAMESPACE::BinaryRequestHandler::writeFileName(), OW_NAMESPACE::CIMOMEnvironment::~CIMOMEnvironment(), and OW_NAMESPACE::EmbeddedCIMOMEnvironment::~EmbeddedCIMOMEnvironment(). |
|
Value: do \ { \ if ((logger)->getLogLevel() >= ::OW_NAMESPACE::E_FATAL_ERROR_LEVEL) \ { \ (logger)->logMessage(::OW_NAMESPACE::Logger::STR_FATAL_CATEGORY, (message), __FILE__, __LINE__, OW_LOGGER_PRETTY_FUNCTION); \ } \ } while (0) message is always evaluated. __FILE__ and __LINE__ are logged.
Definition at line 399 of file OW_Logger.hpp. Referenced by OW_NAMESPACE::CIMOMEnvironment::_createIndicationServer(), OW_NAMESPACE::CIMOMEnvironment::_getIndicationRepLayer(), OW_NAMESPACE::AuthManager::init(), and main(). |
|
Value: do \ { \ if ((logger)->getLogLevel() >= ::OW_NAMESPACE::E_INFO_LEVEL) \ { \ (logger)->logMessage(::OW_NAMESPACE::Logger::STR_INFO_CATEGORY, (message), __FILE__, __LINE__, OW_LOGGER_PRETTY_FUNCTION); \ } \ } while (0) message is only evaluated if logger->getLogLevel() >= E_INFO_LEVEL __FILE__ and __LINE__ are logged.
Definition at line 369 of file OW_Logger.hpp. Referenced by OW_NAMESPACE::RemoteAssociatorProvider::associatorNames(), OW_NAMESPACE::RemoteAssociatorProvider::associators(), OW_NAMESPACE::SafeLibCreate< T >::create(), OW_NAMESPACE::RemoteSecondaryInstanceProvider::createInstance(), OW_NAMESPACE::RemoteInstanceProvider::createInstance(), OW_NAMESPACE::RemoteSecondaryInstanceProvider::deleteInstance(), OW_NAMESPACE::RemoteInstanceProvider::deleteInstance(), OW_NAMESPACE::HTTPServerSelectableCallback::doSelected(), OWBI1::BI1ProviderIFC::doUnloadProviders(), OW_NAMESPACE::CppProviderIFC::doUnloadProviders(), OW_NAMESPACE::RemoteInstanceProvider::enumInstanceNames(), OW_NAMESPACE::RemoteInstanceProvider::enumInstances(), OW_NAMESPACE::RemoteInstanceProvider::getInstance(), OW_NAMESPACE::AuthManager::init(), OW_NAMESPACE::RemoteMethodProvider::invokeMethod(), OWBI1::BI1ProviderIFC::loadProviders(), OW_NAMESPACE::CppProviderIFC::loadProviders(), main(), OW_NAMESPACE::RemoteSecondaryInstanceProvider::modifyInstance(), OW_NAMESPACE::RemoteInstanceProvider::modifyInstance(), OW_NAMESPACE::MetaRepository::open(), OW_NAMESPACE::PollingManagerThread::processTriggers(), OW_NAMESPACE::RemoteAssociatorProvider::referenceNames(), OW_NAMESPACE::RemoteAssociatorProvider::references(), OW_NAMESPACE::CIMServer::setProperty(), and OW_NAMESPACE::HTTPServer::start(). |
|
Definition at line 341 of file OW_Logger.hpp. |