Ring Daemon
Loading...
Searching...
No Matches
jami::LogDispatcher Class Referencefinal
Collaboration diagram for jami::LogDispatcher:
Collaboration graph

Public Member Functions

void enableConsoleLog (bool en)
 
void enableFileLog (const std::string &path)
 
void enableMonitorLog (bool en)
 
void enableSysLog (bool en)
 
bool isEnabled ()
 
void log (Logger::Msg &&msg)
 
void stop ()
 

Static Public Member Functions

static LogDispatcherinstance ()
 

Public Attributes

ConsoleLog consoleLog
 
FileLog fileLog
 
MonitorLog monitorLog
 
SysLog sysLog
 

Detailed Description

Definition at line 420 of file logger.cpp.

Member Function Documentation

◆ enableConsoleLog()

void jami::LogDispatcher::enableConsoleLog ( bool  en)
inline

Definition at line 470 of file logger.cpp.

References consoleLog, jami::emitSignal(), and jami::Logger::Handler::enable().

Referenced by jami::Logger::setConsoleLog().

Here is the call graph for this function:

◆ enableFileLog()

void jami::LogDispatcher::enableFileLog ( const std::string &  path)
inline

Definition at line 464 of file logger.cpp.

References fileLog, and jami::FileLog::setFile().

Referenced by jami::Logger::fini(), and jami::Logger::setFileLog().

Here is the call graph for this function:

◆ enableMonitorLog()

void jami::LogDispatcher::enableMonitorLog ( bool  en)
inline

Definition at line 502 of file logger.cpp.

References jami::emitSignal(), jami::Logger::Handler::enable(), and monitorLog.

Referenced by jami::Logger::setMonitorLog().

Here is the call graph for this function:

◆ enableSysLog()

void jami::LogDispatcher::enableSysLog ( bool  en)
inline

Definition at line 496 of file logger.cpp.

References jami::emitSignal(), jami::Logger::Handler::enable(), and sysLog.

Referenced by jami::Logger::setSysLog().

Here is the call graph for this function:

◆ instance()

◆ isEnabled()

bool jami::LogDispatcher::isEnabled ( )
inline

Definition at line 508 of file logger.cpp.

References consoleLog, fileLog, jami::Logger::Handler::isEnable(), monitorLog, and sysLog.

Here is the call graph for this function:

◆ log()

void jami::LogDispatcher::log ( Logger::Msg &&  msg)
inline

Definition at line 429 of file logger.cpp.

References jami::emitSignal().

Referenced by jami::Logger::vlog(), and jami::Logger::write().

Here is the call graph for this function:

◆ stop()

void jami::LogDispatcher::stop ( )
inline

Definition at line 445 of file logger.cpp.

References jami::emitSignal().

Referenced by jami::Logger::fini().

Here is the call graph for this function:

Member Data Documentation

◆ consoleLog

ConsoleLog jami::LogDispatcher::consoleLog

Definition at line 459 of file logger.cpp.

Referenced by enableConsoleLog(), and isEnabled().

◆ fileLog

FileLog jami::LogDispatcher::fileLog

Definition at line 462 of file logger.cpp.

Referenced by enableFileLog(), and isEnabled().

◆ monitorLog

MonitorLog jami::LogDispatcher::monitorLog

Definition at line 461 of file logger.cpp.

Referenced by enableMonitorLog(), and isEnabled().

◆ sysLog

SysLog jami::LogDispatcher::sysLog

Definition at line 460 of file logger.cpp.

Referenced by enableSysLog(), and isEnabled().


The documentation for this class was generated from the following file: