Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::ConsoleLog Class Reference
Inheritance diagram for jami::ConsoleLog:
Inheritance graph
Collaboration diagram for jami::ConsoleLog:
Collaboration graph

Public Member Functions

void consume (Logger::Msg &msg) override
 
void printLogImpl (const Logger::Msg &msg, bool with_color)
 
- Public Member Functions inherited from jami::Logger::Handler
virtual void consume (Msg &msg)=0
 
void enable (bool en)
 
bool isEnable ()
 
virtual ~Handler ()=default
 

Static Public Member Functions

static ConsoleLoginstance ()
 

Detailed Description

Definition at line 238 of file logger.cpp.

Member Function Documentation

◆ consume()

void jami::ConsoleLog::consume ( Logger::Msg &  msg)
inlineoverride

Definition at line 344 of file logger.cpp.

References jami::emitSignal(), and printLogImpl().

Here is the call graph for this function:

◆ instance()

static ConsoleLog & jami::ConsoleLog::instance ( )
inlinestatic

◆ printLogImpl()

void jami::ConsoleLog::printLogImpl ( const Logger::Msg &  msg,
bool  with_color 
)
inline

Definition at line 308 of file logger.cpp.

References CYAN, jami::emitSignal(), END_COLOR, jami::ENDL, RED, and YELLOW.

Referenced by consume().

Here is the call graph for this function:

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