logging::Logger

NAME
SYNOPSIS
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
Author

NAME

logging::Logger −

SYNOPSIS

#include <loggingLog4cpp.h>

Public Member Functions

Logger ()

~Logger ()

ACSCategory * getLogger (const std::string &loggerName)

ACSCategory * getGlobalLogger ()

ACSCategory * getStaticLogger ()

void enableRemoteAppender (unsigned long cacheSize=100, unsigned int autoFlushTimeoutSec=3, Logging::AcsLogService_ptr loggingService=Logging::AcsLogService::_nil(), CosNaming::NamingContext_ptr namingService=CosNaming::NamingContext::_nil(), int maxLogsPerSecond=-1)

void enableSyslogAppender ()

void setLogLevels (const std::string &loggerName, log4cpp::Priority::PriorityLevel remote, log4cpp::Priority::PriorityLevel local)

Static Public Member Functions

static BasicLogInfo formatLog (log4cpp::Priority::PriorityLevel priority, const char *fmt,...)

static BasicLogInfo formatLog (ACE_Log_Priority priority, const char *fmt,...)

static BasicLogInfo formatLog (unsigned int priority, const char *fmt,...)

Private Member Functions

ACSCategory * initLogger (const std::string &loggerName)

Private Attributes

bool remoteAppenderEnabled

bool syslogAppenderEnabled

unsigned int localLogLevel

unsigned int remoteLogLevel

unsigned int syslogLogLevel

unsigned long cacheSize

unsigned int autoFlushTimeoutSec

Logging::AcsLogService_ptr loggingService

CosNaming::NamingContext_ptr namingService

int maxLogsPerSecond

ACE_Thread_Mutex initMutex

Constructor & Destructor Documentation

logging::Logger::Logger ()

logging::Logger::~Logger ()

Member Function Documentation

void logging::Logger::enableRemoteAppender (unsigned long cacheSize = 100, unsigned int autoFlushTimeoutSec = 3, Logging::AcsLogService_ptr loggingService = Logging::AcsLogService::_nil(), CosNaming::NamingContext_ptr namingService = CosNaming::NamingContext::_nil(), int maxLogsPerSecond = -1)

void logging::Logger::enableSyslogAppender ()

static BasicLogInfo logging::Logger::formatLog (ACE_Log_Priority priority, const char * fmt, ...) [static]

static BasicLogInfo logging::Logger::formatLog (unsigned int priority, const char * fmt, ...) [static]

static BasicLogInfo logging::Logger::formatLog (log4cpp::Priority::PriorityLevel priority, const char * fmt, ...) [static]

ACSCategory* logging::Logger::getGlobalLogger ()

ACSCategory* logging::Logger::getLogger (const std::string & loggerName)

ACSCategory* logging::Logger::getStaticLogger ()

ACSCategory* logging::Logger::initLogger (const std::string & loggerName) [private]

void logging::Logger::setLogLevels (const std::string & loggerName, log4cpp::Priority::PriorityLevel remote, log4cpp::Priority::PriorityLevel local)

Member Data Documentation

unsigned int logging::Logger::autoFlushTimeoutSec [private]

unsigned long logging::Logger::cacheSize [private]

ACE_Thread_Mutex logging::Logger::initMutex [private]

unsigned int logging::Logger::localLogLevel [private]

Logging::AcsLogService_ptr logging::Logger::loggingService [private]

int logging::Logger::maxLogsPerSecond [private]

CosNaming::NamingContext_ptr logging::Logger::namingService [private]

bool logging::Logger::remoteAppenderEnabled [private]

unsigned int logging::Logger::remoteLogLevel [private]

bool logging::Logger::syslogAppenderEnabled [private]

unsigned int logging::Logger::syslogLogLevel [private]

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.