-
- All Implemented Interfaces:
-
com.revesoft.logger.treessence.common.filters.Filter
public final class MergeFilter implements Filter
Merge several filters into one.
If one of filters wants to skip log, then this merge filter is skipping log.
If one of filter tells that it is not loggable, then this merge filter is not loggable as well.
-
-
Field Summary
Fields Modifier and Type Field Description private final <ERROR CLASS>filters
-
Constructor Summary
Constructors Constructor Description MergeFilter(List<Filter> filters)
-
Method Summary
-
-
Method Detail
-
getFilters
final <ERROR CLASS> getFilters()
-
skipLog
Boolean skipLog(Integer priority, String tag, String message, Throwable t)
- Parameters:
priority- Log priority.tag- Tag for log.message- Formatted log message.t- Accompanying exceptions.
-
isLoggable
Boolean isLoggable(Integer priority, String tag)
-
-
-
-