21 #ifndef GRT_WARNING_LOG_HEADER
22 #define GRT_WARNING_LOG_HEADER
25 #include "ObserverManager.h"
32 this->proceedingText = proceedingText;
33 this->message = message;
39 std::string getProceedingText()
const {
40 return proceedingText;
43 std::string getMessage()
const {
47 std::string proceedingText;
54 setProceedingText(proceedingText);
55 Log::loggingEnabledPtr = &warningLoggingEnabled;
62 this->proceedingText = rhs.proceedingText;
63 this->writeProceedingText = rhs.writeProceedingText;
64 this->lastMessage = rhs.lastMessage;
65 this->loggingEnabledPtr = &warningLoggingEnabled;
66 this->writeProceedingTextPtr = &writeProceedingText;
67 this->lastMessagePtr = &lastMessage;
73 virtual bool loggingEnabled()
const{
return warningLoggingEnabled; }
76 static bool enableLogging(
bool loggingEnabled);
83 virtual void triggerCallback(
const std::string &message )
const{
89 static bool warningLoggingEnabled;
94 #endif //GRT_WARNING_LOG_HEADER