Class LogFileScan
One log's scan. An absent log has no counts (absent is not zero); Problem says why a required one is missing. Failed when a required log is missing or a failure pattern matched.
public sealed record LogFileScan
- Inheritance
-
objectLogFileScan
Constructors
LogFileScan(string, string, bool, string?, IReadOnlyList<LogPatternCount>)
One log's scan. An absent log has no counts (absent is not zero); Problem says why a required one is missing. Failed when a required log is missing or a failure pattern matched.
public LogFileScan(string Role, string Path, bool Present, string? Problem, IReadOnlyList<LogPatternCount> Counts)
Parameters
RolestringPathstringPresentboolProblemstringCountsIReadOnlyList<LogPatternCount>
Properties
Counts
public IReadOnlyList<LogPatternCount> Counts { get; init; }
Property Value
- IReadOnlyList<LogPatternCount>
Failed
public bool Failed { get; }
Property Value
- bool
Path
public string Path { get; init; }
Property Value
- string
Present
public bool Present { get; init; }
Property Value
- bool
Problem
public string? Problem { get; init; }
Property Value
- string
Role
public string Role { get; init; }
Property Value
- string