C# Class CK.Core.ActivityMonitorErrorCounter.State

Encapsulates error information. The ToString method displays the conclusion in a default text format.
Afficher le fichier Open project: Invenietis/ck-core

Méthodes publiques

Méthode Description
ClearError ( ) : void

Resets FatalCount and ErrorCount.

ClearWarn ( bool clearError = false ) : void

Resets current WarnCount, and optionnaly FatalCount and ErrorCount.

ToString ( ) : string

Gets the current message if HasWarnOrError is true, otherwise null.

Private Methods

Méthode Description
CatchLevel ( LogLevel level ) : void
State ( State parent ) : System

Method Details

ClearError() public méthode

Resets FatalCount and ErrorCount.
public ClearError ( ) : void
Résultat void

ClearWarn() public méthode

Resets current WarnCount, and optionnaly FatalCount and ErrorCount.
public ClearWarn ( bool clearError = false ) : void
clearError bool
Résultat void

ToString() public méthode

Gets the current message if HasWarnOrError is true, otherwise null.
public ToString ( ) : string
Résultat string