Table of Contents

Class LogFileScan

Namespace
Valheim.Testing.Game
Assembly
Valheim.Testing.Game.dll

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
object
LogFileScan

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

Role string
Path string
Present bool
Problem string
Counts IReadOnlyList<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