ui: logview logic in controller

* logfilter in applicationsettings
* logview limit 500 entries
This commit is contained in:
Andreas Stallinger
2016-11-25 15:16:07 +01:00
parent 3a61a98e4b
commit f53f6dae98
17 changed files with 258 additions and 37 deletions
@@ -0,0 +1,24 @@
#ifndef MESSAGE_LOG_FILTER_CHANGED_H
#define MESSAGE_LOG_FILTER_CHANGED_H
#include "utility/messaging/Message.h"
#include "utility/logging/Logger.h"
class MessageLogFilterChanged
: public Message<MessageLogFilterChanged>
{
public:
MessageLogFilterChanged(const Logger::LogLevelMask filter)
: logFilter(filter)
{
}
static const std::string getStaticType()
{
return "MessageLogFilterChanged";
}
const Logger::LogLevelMask logFilter;
};
#endif // MESSAGE_LOG_FILTER_CHANGED_H