C# Class FluentLog4Net.ErrorHandlers.ErrorHandlerDefinitionBuilder

Helper class used to build and configure error handler definitions.
Afficher le fichier Open project: awhatley/fluent-log4net

Méthodes publiques

Méthode Description
OnlyOnce ( Action handler ) : OnlyOnceErrorHandlerDefinition

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.

Method Details

OnlyOnce() public méthode

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.
public OnlyOnce ( Action handler ) : OnlyOnceErrorHandlerDefinition
handler Action
Résultat OnlyOnceErrorHandlerDefinition