Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

OnlyOnceErrorHandler Class

Implements log4net's default error handling policy which consists of emitting a message for the first error in an appender and ignoring all subsequent errors.

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

System.Object
���log4net.Util.OnlyOnceErrorHandler

[Visual�Basic]
Public�Class�OnlyOnceErrorHandler
����Implements�IErrorHandler
[C#]
public�class�OnlyOnceErrorHandler : IErrorHandler

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

The error message is processed using the LogLog sub-system.

This policy aims at protecting an otherwise working application from being flooded with error messages when logging fails.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

OnlyOnceErrorHandler Members | log4net.Util Namespace