Skip to content

AppLogEntry

Namespace: E2E.Engine

public sealed record AppLogEntry : IEquatable<AppLogEntry>

One line of what the app did on its own, as an engine reports it to AppLog (upstream’s AppLogEntry): console output, an exception nothing caught, a failed request. The harness redacts and bounds it.

Inheritance: object

Implements: IEquatable<AppLogEntry>

View source

AppLogEntry(AppLogSource, AppLogLevel, string)

Section titled “AppLogEntry(AppLogSource, AppLogLevel, string)”
public AppLogEntry(AppLogSource Source, AppLogLevel Level, string Text)

One line of what the app did on its own, as an engine reports it to AppLog (upstream’s AppLogEntry): console output, an exception nothing caught, a failed request. The harness redacts and bounds it.

Parameters

Name Type Description
Source AppLogSource Where the line came from.
Level AppLogLevel How bad it was.
Text string The line. A blank one is dropped.

View source

public AppLogLevel Level { get; init; }

How bad it was.

Value: AppLogLevel

View source

public AppLogSource Source { get; init; }

Where the line came from.

Value: AppLogSource

View source

public string Text { get; init; }

The line. A blank one is dropped.

Value: string

View source