C# Class FluentLog4Net.ErrorHandlers.ErrorHandlerDefinitionBuilder

Helper class used to build and configure error handler definitions.
Mostrar archivo Open project: awhatley/fluent-log4net

Public Methods

Method 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 method

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
return OnlyOnceErrorHandlerDefinition