Interface ILogFilterErrorHandler
- Namespace
- Microsoft.Practices.EnterpriseLibrary.Logging.Filters
- Assembly
- Microsoft.Practices.EnterpriseLibrary.Logging.dll
Contract for handling errors during evaluation of an ILogFilter.
public interface ILogFilterErrorHandler
Methods
FilterCheckingFailed(Exception, LogEntry, ILogFilter)
Perform any action to handle an error during checking.
bool FilterCheckingFailed(Exception ex, LogEntry logEntry, ILogFilter filter)
Parameters
ex
ExceptionThe exception raised during filter evaluation.
logEntry
LogEntryThe log entry being evaluated.
filter
ILogFilterThe fiter that raised the exception.
Returns
- bool
True if processing should continue, ignoring the failed filter, or false if the filter evaluation should be considered as failed.