log4net SDK Reference

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

This type is not safe for multithreaded operations.

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