OpenStudioCore:utilities
 AllClasses Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages

#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< LogMessageparseLogText (const std::string &logText)

Detailed Description

LogMessage encapsulates a single logging message.

Constructor & Destructor Documentation

openstudio::LogMessage::LogMessage ( LogLevel  logLevel,
const std::string &  channel,
const std::string &  message 
)

constructor

Member Function Documentation

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 std::vector<LogMessage> openstudio::LogMessage::parseLogText ( const std::string &  logText)
static

parse logText and get log messages