OpenStudioCore:utilities
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Static Public Member Functions | List of all members
openstudio::LogMessage Class Reference

#include <LogMessage.hpp>

Public Member Functions

LogChannel logChannel () const
 get the messages log channel More...
 
LogLevel logLevel () const
 get the message's log level More...
 
 LogMessage (LogLevel logLevel, const std::string &channel, const std::string &message)
 constructor More...
 
std::string logMessage () const
 get the content of the log message More...
 

Static Public Member Functions

static std::vector< LogMessageparseLogText (const std::string &logText)
 parse logText and get log messages More...
 

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