ui: remove MessageNewLog

* remove Logging checkboxes in prefernces
* commandline parser project path is absolute when called from commandline
This commit is contained in:
Andreas Stallinger
2016-11-14 13:38:31 +01:00
parent c95eecdd7e
commit 56ab09159b
16 changed files with 30 additions and 76 deletions
@@ -1,34 +0,0 @@
#ifndef MESSAGE_NEW_LOG_H
#define MESSAGE_NEW_LOG_H
#include "utility/messaging/Message.h"
#include "utility/logging/logging.h"
class MessageNewLog
: public Message<MessageNewLog>
{
public:
MessageNewLog(const Logger::LogLevel type, const LogMessage& message)
: type(type)
, message(message)
{
setSendAsTask(false);
setIsLogged(false);
}
static const std::string getStaticType()
{
return "MessageNewLog";
}
virtual void print(std::ostream& os) const
{
os << "Log: " << message.message;
}
const Logger::LogLevel type;
const LogMessage message;
};
#endif // MESSAGE_NEW_LOG_H