Class AspireResourceLogEntry
- Namespace
- XBullet.EasyTesting.Aspire
- Assembly
- XBullet.EasyTesting.Aspire.dll
One console line emitted by an Aspire resource.
public sealed class AspireResourceLogEntry
- Inheritance
-
AspireResourceLogEntry
- Inherited Members
Constructors
AspireResourceLogEntry(int, string, bool)
Creates an immutable resource log entry.
public AspireResourceLogEntry(int lineNumber, string content, bool isError)
Parameters
lineNumberintThe line number reported by Aspire.
contentstringThe log-line content. Empty content is accepted.
isErrorbool
Properties
Content
Gets the console content.
public string Content { get; }
Property Value
- string
The log-line content, which can be empty and is not redacted.
IsError
Gets whether the line came from standard error.
public bool IsError { get; }
Property Value
LineNumber
Gets the resource stream line number.
public int LineNumber { get; }
Property Value
- int
The line number reported by Aspire.