Table of Contents

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 Exception

The exception raised during filter evaluation.

logEntry LogEntry

The log entry being evaluated.

filter ILogFilter

The 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.