Table of Contents

Class LogOptions

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll
public sealed record LogOptions : IEquatable<LogOptions>
Inheritance
LogOptions
Implements
Inherited Members

Properties

Lines

Maximum lines to return; zero uses the gateway default (2000).

public uint Lines { get; init; }

Property Value

uint

MinLevel

Minimum level, for example WARN.

public string? MinLevel { get; init; }

Property Value

string

Since

Only include logs at or after this time.

public DateTimeOffset? Since { get; init; }

Property Value

DateTimeOffset?

Sources

Only include these sources.

public IReadOnlyList<string>? Sources { get; init; }

Property Value

IReadOnlyList<string>