Class LogPatternCount
How often a pattern matched in one log and where first; Reason is set when the run reclassified it. Lines the run named as expected are counted apart in Expected (the first in FirstExpected) and never fail. FirstFrame is the most useful stack frame under the first counted line, for UnityException: the first frame outside the runtime's own System, Mono and wrapper frames.
public sealed record LogPatternCount
- Inheritance
-
objectLogPatternCount
Constructors
LogPatternCount(string, LogSeverity, string?, int, int?, string?, int, string?, string?)
How often a pattern matched in one log and where first; Reason is set when the run reclassified it. Lines the run named as expected are counted apart in Expected (the first in FirstExpected) and never fail. FirstFrame is the most useful stack frame under the first counted line, for UnityException: the first frame outside the runtime's own System, Mono and wrapper frames.
public LogPatternCount(string Pattern, LogSeverity Severity, string? Reason, int Count, int? FirstLine, string? First, int Expected = 0, string? FirstExpected = null, string? FirstFrame = null)
Parameters
PatternstringSeverityLogSeverityReasonstringCountintFirstLineint?FirststringExpectedintFirstExpectedstringFirstFramestring
Properties
Count
public int Count { get; init; }
Property Value
- int
Expected
public int Expected { get; init; }
Property Value
- int
First
public string? First { get; init; }
Property Value
- string
FirstExpected
public string? FirstExpected { get; init; }
Property Value
- string
FirstFrame
public string? FirstFrame { get; init; }
Property Value
- string
FirstLine
public int? FirstLine { get; init; }
Property Value
- int?
Pattern
public string Pattern { get; init; }
Property Value
- string
Reason
public string? Reason { get; init; }
Property Value
- string
Severity
public LogSeverity Severity { get; init; }