add a filter to loggers

events are accepted by the logger if the filter accepts them
the filter is optional (no filter means to accept all events)
This commit is contained in:
Cedric Roux
2016-06-08 16:35:08 +02:00
parent 63652f94fa
commit 72f56da6b6
12 changed files with 176 additions and 4 deletions
+1
View File
@@ -19,5 +19,6 @@ void framelog_set_skip(logger *_this, int skip_delay);
#include "view/view.h"
void logger_add_view(logger *l, view *v);
void logger_set_filter(logger *l, void *filter);
#endif /* _LOGGER_H_ */