C# 클래스 CK.Core.ActivityMonitorErrorCounter

Count fatal, error or warn that occurred. It can also automatically adds a conclusion to closed groups that summarizes the number of fatals, errors and warnings.
상속: ActivityMonitorClient, IActivityMonitorBoundClient
파일 보기 프로젝트 열기: Invenietis/ck-core 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
TagErrorCounter CKTrait

공개 메소드들

메소드 설명
ActivityMonitorErrorCounter ( bool generateConclusion = false ) : System

Initializes a new error counter with GenerateConclusion sets to false.

보호된 메소드들

메소드 설명
OnGroupClosed ( IActivityLogGroup group, IReadOnlyList conclusions ) : void

Restores current to the previous one (or keep it on the root if no opened group exist).

OnGroupClosing ( IActivityLogGroup group, List &conclusions ) : void

Handles group conclusion.

OnOpenGroup ( IActivityLogGroup group ) : void

Updates error counters.

OnUnfilteredLog ( ActivityMonitorLogData data ) : void

Updates error counters.

비공개 메소드들

메소드 설명
IActivityMonitorBoundClient ( IActivityMonitorImpl source, bool forceBuggyRemove ) : void

메소드 상세

ActivityMonitorErrorCounter() 공개 메소드

Initializes a new error counter with GenerateConclusion sets to false.
public ActivityMonitorErrorCounter ( bool generateConclusion = false ) : System
generateConclusion bool True to generate a conclusion. See .
리턴 System

OnGroupClosed() 보호된 메소드

Restores current to the previous one (or keep it on the root if no opened group exist).
protected OnGroupClosed ( IActivityLogGroup group, IReadOnlyList conclusions ) : void
group IActivityLogGroup The log group.
conclusions IReadOnlyList Texts that conclude the group.
리턴 void

OnGroupClosing() 보호된 메소드

Handles group conclusion.
protected OnGroupClosing ( IActivityLogGroup group, List &conclusions ) : void
group IActivityLogGroup The closing group.
conclusions List /// Mutable conclusions associated to the closing group. /// This can be null if no conclusions have been added yet. /// It is up to the first client that wants to add a conclusion to instantiate a new List object to carry the conclusions. ///
리턴 void

OnOpenGroup() 보호된 메소드

Updates error counters.
protected OnOpenGroup ( IActivityLogGroup group ) : void
group IActivityLogGroup The newly opened .
리턴 void

OnUnfilteredLog() 보호된 메소드

Updates error counters.
protected OnUnfilteredLog ( ActivityMonitorLogData data ) : void
data ActivityMonitorLogData Log data. Never null.
리턴 void

프로퍼티 상세

TagErrorCounter 공개적으로 정적으로 프로퍼티

Gets the tag used for generated error conclusions ("c:ErrorCounter") when GenerateConclusion is true.
public static CKTrait TagErrorCounter
리턴 CKTrait