Package com.configcat
Interface LogFilterFunction
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface LogFilterFunctionThe Log Filter Functional Interface provides a custom filter option for the ConfigCat Logger.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanapply(LogLevel logLevel, int eventId, java.lang.String message, java.lang.Throwable exception)Apply the custom filter option to the ConfigCatLogger.
-
-
-
Method Detail
-
apply
boolean apply(LogLevel logLevel, int eventId, java.lang.String message, java.lang.Throwable exception)
Apply the custom filter option to the ConfigCatLogger.- Parameters:
logLevel- Event severity level.eventId- Event identifier.message- Message.exception- The exception object related to the message (if any).- Returns:
- True to log the event, false will leave out the log.
-
-