Class ScreenSink¶
Defined in File customsink.hpp
Class Documentation¶
-
class ScreenSink¶
Public Types
Public Functions
-
inline ScreenSink()¶
-
inline virtual ~ScreenSink()¶
-
std::string FormatMessage(const LEVELS level, g3::LogMessage &msg)¶
Format the log message : all level : timestamp + level + message debug level : add file and line where the message have been emitted fatal level message are not send
note: same format as for zmq except it is wrote in one string instead of a list of string
- Parameters
msg – message format delivered by g3log lib
- Returns
the new message format as a string
-
void ReceiveLogMessage(g3::LogMessageMover message)¶
Format the message + display on the screen
- Parameters
msg – message format delivered by g3log lib
-
inline ScreenSink()¶