#include "LogMessage.hpp"
Public Member Functions | |
LogChannel | logChannel () const |
LogLevel | logLevel () const |
LogMessage (LogLevel logLevel, const std::string &channel, const std::string &message) | |
std::string | logMessage () const |
Static Public Member Functions | |
static std::vector< LogMessage > | parseLogText (const std::string &logText) |
LogMessage encapsulates a single logging message.
openstudio::LogMessage::LogMessage | ( | LogLevel | logLevel, |
const std::string & | channel, | ||
const std::string & | message | ||
) |
constructor
LogChannel openstudio::LogMessage::logChannel | ( | ) | const |
get the messages log channel
LogLevel openstudio::LogMessage::logLevel | ( | ) | const |
get the message's log level
std::string openstudio::LogMessage::logMessage | ( | ) | const |
get the content of the log message
|
static |
parse logText and get log messages