Class LogOptions
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
Options for GetLogsAsync(string, LogOptions?, CancellationToken).
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
MinLevel
Minimum level, for example WARN.
public string? MinLevel { get; init; }
Property Value
Since
Only include logs at or after this time.
public DateTimeOffset? Since { get; init; }
Property Value
Sources
Only include these sources.
public IReadOnlyList<string>? Sources { get; init; }