ui: logview logic in controller
* logfilter in applicationsettings * logview limit 500 entries
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user