Go to the documentation of this file.
16 #ifndef SURGSIM_FRAMEWORK_LOGMESSAGEBASE_H
17 #define SURGSIM_FRAMEWORK_LOGMESSAGEBASE_H
105 #endif // SURGSIM_FRAMEWORK_LOGMESSAGEBASE_H
LogMessageBase & operator<<(T &&input)
Add the given input to the current log message.
Definition: LogMessageBase.h:57
std::ostringstream m_stream
Definition: LogMessageBase.h:95
std::string getMessage()
Definition: LogMessageBase.h:83
~LogMessageBase()
Destructor.
Definition: LogMessageBase.h:50
bool writeMessage(const std::string &message)
Uses the contained instance of LogOutput to write the log message.
Definition: Logger.h:65
Definition: CompoundShapeToGraphics.cpp:30
LogMessageBase is a base class to be used to customize messages for logging textual information can b...
Definition: LogMessageBase.h:41
void flush()
write the current message to the logger
Definition: LogMessageBase.h:89
Logger * m_logger
Definition: LogMessageBase.h:96
LogMessageBase(Logger *logger, int level)
Construct a LogMessage.
Definition: LogMessageBase.cpp:25
string(TOUPPER ${DEVICE} DEVICE_UPPER_CASE) option(BUILD_DEVICE_$
Definition: CMakeLists.txt:38
An object that can be used to control logging parameters, such as verbosity and log output destinatio...
Definition: Logger.h:52