Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

DenyAllFilter Class

This filter drops all LoggingEvent.

For a list of all members of this type, see DenyAllFilter Members.

System.Object
���log4net.Filter.FilterSkeleton
������log4net.Filter.DenyAllFilter

[Visual�Basic]
NotInheritable�Public�Class�DenyAllFilter
����Inherits�FilterSkeleton
[C#]
public�sealed�class�DenyAllFilter : FilterSkeleton

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

You can add this filter to the end of a filter chain to switch from the default "accept all unless instructed otherwise" filtering behavior to a "deny all unless instructed otherwise" behavior.

Requirements

Namespace: log4net.Filter

Assembly: log4net (in log4net.dll)

See Also

DenyAllFilter Members | log4net.Filter Namespace