Loading...
Searching...
No Matches
LogMessage.h
Go to the documentation of this file.
#pragma once
#include <string>
#include <globjects/globjects_api.h>
#include <globjects/base/LogMessageLevel.h>
namespace globjects
{
class GLOBJECTS_API LogMessage
{
public:
LogMessage(LogMessageLevel level, const std::string & message);
LogMessageLevel level() const;
const std::string & message() const;
protected:
LogMessageLevel m_level;
std::string m_message;
};
} // namespace globjects
LogMessageLevel.h
globjects::LogMessage
Encapsulates a simple log message and its severity level.
Definition LogMessage.h:24
globjects::LogMessage::m_message
std::string m_message
Definition LogMessage.h:33
globjects::LogMessage::LogMessage
LogMessage(LogMessageLevel level, const std::string &message)
globjects::LogMessage::level
LogMessageLevel level() const
globjects::LogMessage::message
const std::string & message() const
globjects::LogMessage::m_level
LogMessageLevel m_level
Definition LogMessage.h:32
globjects
Contains all the classes that wrap OpenGL functionality.
globjects::LogMessageLevel
LogMessageLevel
Definition LogMessageLevel.h:10