Partilhar via


Microsoft.Practices.EnterpriseLibrary.Logging.Filters Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Classes

  Class Description
Public class CategoryFilter
Represents a client-side log filter based on message category. Either specific categories can be explicitly allowed, or specific categories can be denied.
Public class LogEnabledFilter
Represents a boolean on/off filter.
Public class LogFilter
Abstract implementation of the ILogFilter interface.
Public class LogFilterCustomFactory
This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Represents the general process to build an ILogFilter object given a concrete sublcass of LogFilterData.
Public class LogFilterHelper
Provides client-side log filtering based on category and priority. Each filter implements the ILogFilter interface and is registered in this class. Category filtering is done using a CategoryFilter and priority filtering is done using a PriorityFilter.
Public class PriorityFilter
Represents a client-side log filter based on message priority. Messages with priorities between the minimum and maximum values are allowed to be processed, all other messages are dropped.

Interfaces

  Interface Description
Public interface ILogFilter
Represents the interface for client-side message filters.
Public interface ILogFilterErrorHandler
Contract for handling errors during evaluation of an ILogFilter.
Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.