Class LogFilter

Class Documentation

class LogFilter

Public Functions

explicit LogFilter(LogStorePtr &logs)
inline void setCursorOffset(int64_t offset)
void setFilter(const std::string &filter)
inline std::string getFilterString() const
void setExclude(const std::string &exclude)
void setDebugLevel(bool enable)
void setInfoLevel(bool enable)
void setWarnLevel(bool enable)
void setErrorLevel(bool enable)
void setFatalLevel(bool enable)
void setEnableNodeFilter(bool enable)
void toggleNode(const std::string &node)
void selectAllNodes()
void invertNodes()
inline bool getDebugLevel() const
inline bool getInfoLevel() const
inline bool getWarnLevel() const
inline bool getErrorLevel() const
inline bool getFatalLevel() const
inline bool getEnableNodeFilter() const
void reset()
void update()
void idleProcess()
void setCursor(int64_t index)
size_t getCursor()
void clearSelect()
void setSelectStart(int64_t index)
int64_t getSelectStart()
void setSelectEnd(int64_t index)
int64_t getSelectEnd()
void search(const std::string &pattern)
void nextMatch()
void prevMatch()
void clearSearch()
inline std::string getSearch() const
inline const std::deque<LogLine> &indices() const
inline const std::map<std::string, NodeData> &nodes() const

Public Members

int64_t search_cursor_ = -1
int64_t search_cursor_fwd_ = -1
int64_t search_cursor_rev_ = -1