로딩중...
검색중...
일치하는것 없음
by::filterable 클래스 참조abstract

Interface for objects that can filter log messages 더 자세히 ...

#include <filterable.hpp>

by::filterable에 대한 상속 다이어그램 :
by::errPassFilter by::filters

Public 멤버 함수

virtual nbool filt (errLv::level lv, const std::string &tag) const =0
 Determines whether a log entry should be filtered out.
 

상세한 설명

Interface for objects that can filter log messages

Allows the logger class to filter logging based on specific conditions. Provides the filt() function which receives log information as parameters. If this function returns true for a given log entry, that log will not be sent to the stream.

Implement this interface to create custom log filtering logic based on error level and tag criteria.

멤버 함수 문서화

◆ filt()

virtual nbool by::filterable::filt ( errLv::level lv,
const std::string & tag ) const
pure virtual

Determines whether a log entry should be filtered out.

매개변수
lvThe error level of the log entry.
tagThe tag associated with the log entry.
반환값
true if the log entry should be filtered out (not sent to stream), false otherwise.

by::filters, by::errPassFilter에서 구현되었습니다.


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: