Skip to content

ReplLogContext

Immutable snapshot of the current REPL logging context.

public sealed record ReplLogContext : IEquatable<ReplLogContext>
  • IEquatable<ReplLogContext>

ReplLogContext(string?, bool, bool, bool, bool, string?, string?, string?, TextWriter, TextWriter)

Section titled “ReplLogContext(string?, bool, bool, bool, bool, string?, string?, string?, TextWriter, TextWriter)”

Immutable snapshot of the current REPL logging context.

public ReplLogContext(string? SessionId, bool IsSessionActive, bool IsHostedSession, bool IsProgrammatic, bool IsProtocolPassthrough, string? TransportName, string? RemotePeer, string? TerminalIdentity, TextWriter Output, TextWriter Error)
public TextWriter Error { get; init; }

TextWriter

public bool IsHostedSession { get; init; }

bool

public bool IsProgrammatic { get; init; }

bool

public bool IsProtocolPassthrough { get; init; }

bool

public bool IsSessionActive { get; init; }

bool

public TextWriter Output { get; init; }

TextWriter

public string? RemotePeer { get; init; }

string

public string? SessionId { get; init; }

string

public string? TerminalIdentity { get; init; }

string

public string? TransportName { get; init; }

string