CK.Core.ActivityMonitorErrorCounter.State.ClearError C# (CSharp) Method

ClearError() public method

Resets FatalCount and ErrorCount.
public ClearError ( ) : void
return void
            public void ClearError()
            {
                if( MaxLogLevel > LogLevel.Warn )
                {
                    FatalCount = ErrorCount = 0;
                    MaxLogLevel = WarnCount > 0 ? LogLevel.Warn : LogLevel.Info;
                }
            }