Table of Contents

Interface ILogFilter

Namespace
Microsoft.Practices.EnterpriseLibrary.Logging.Filters
Assembly
Microsoft.Practices.EnterpriseLibrary.Logging.dll

Represents the interface for client-side message filters.

public interface ILogFilter

Properties

Name

Gets the name of the log filter

string Name { get; }

Property Value

string

Methods

Filter(LogEntry)

Test to see if a message meets the criteria to be processed.

bool Filter(LogEntry log)

Parameters

log LogEntry

Log entry to test.

Returns

bool

true if the message passes through the filter and should be distributed, false otherwise.