|
Ring Daemon
|
Level-driven logging class that support printf and C++ stream logging fashions. More...
#include <logger.h>

Classes | |
| class | Handler |
| struct | Msg |
Public Member Functions | |
| Logger ()=delete | |
| Logger (const Logger &)=delete | |
| Logger (int level, const char *file, unsigned line, bool linefeed) | |
| Logger (Logger &&) noexcept=default | |
| template<typename T > | |
| Logger & | operator<< (const T &value) |
| ~Logger () | |
Level-driven logging class that support printf and C++ stream logging fashions.
|
delete |
|
defaultnoexcept |
|
inline |
|
static |
Definition at line 614 of file logger.cpp.
References jami::debugEnabled_.
Definition at line 105 of file logger.h.
References jami::emitSignal().
Referenced by writeDht().

|
static |
Definition at line 647 of file logger.cpp.
References jami::LogDispatcher::enableFileLog(), jami::LogDispatcher::instance(), and jami::LogDispatcher::stop().

|
inlinestatic |
Definition at line 159 of file logger.h.
References jami::emitSignal().

|
static |
Printf fashion logging.
Example: JAMI_DBG("%s", "Hello, World!")
Definition at line 597 of file logger.cpp.
References jami::emitSignal(), and vlog().
Referenced by ~Logger().

Definition at line 573 of file logger.cpp.
References jami::emitSignal(), jami::LogDispatcher::enableConsoleLog(), and jami::LogDispatcher::instance().

Definition at line 608 of file logger.cpp.
References jami::debugEnabled_.
Definition at line 591 of file logger.cpp.
References jami::LogDispatcher::enableFileLog(), and jami::LogDispatcher::instance().

Definition at line 585 of file logger.cpp.
References jami::emitSignal(), jami::LogDispatcher::enableMonitorLog(), and jami::LogDispatcher::instance().

Definition at line 579 of file logger.cpp.
References jami::emitSignal(), jami::LogDispatcher::enableSysLog(), and jami::LogDispatcher::instance().

|
static |
Printf fashion logging (using va_list parameters)
Definition at line 620 of file logger.cpp.
References jami::debugEnabled_, jami::emitSignal(), jami::LogDispatcher::instance(), and jami::LogDispatcher::log().
Referenced by log().

|
static |
Definition at line 636 of file logger.cpp.
References jami::emitSignal(), jami::LogDispatcher::instance(), and jami::LogDispatcher::log().
Referenced by writeDht().

|
inlinestatic |
Definition at line 122 of file logger.h.
References dhtLevel(), jami::emitSignal(), and write().
