Table of Contents

Namespace RDCore.SDK.ConsoleIO

Classes

ConsoleBreakHandler

Turns the console's break keys into a callback for as long as it is alive, instead of letting them end the process.

ConsoleMessageBuilder

An immutable builder for a structured console message. Each With* call returns a new instance; a renderer consumes Parts and Kind. At most one part of each MessagePart role is kept (last write wins is not applied — the first is kept).

ConsoleShellFrame

Owns the console's frame: the background and foreground the whole shell is painted on, for as long as the process owns the terminal.

RDCoreConsoleLogger

Renders ILogger calls as structured console messages through an IConsoleMessageWriter.

RDCoreConsoleLoggerProvider

An ILoggerProvider whose loggers render through an IConsoleMessageWriter. Add it to a host's logging pipeline to route ILogger<TCategoryName> output to the console renderer.

SourcePathAnonymizer

Removes an absolute source-file path from exception / stack-trace text before that text can be packaged into a DTO and sent to another process.

Structs

ConsoleRgbColor

A 24-bit console colour, as a shell frame understands it: three channels, no style semantics, no renderer dependency.

Interfaces

IConsoleMessageWriter

Renders structured console messages. The full form takes a ConsoleMessageBuilder; the convenience methods cover the common "one styled line" cases. Every method returns the writer for chaining.

IConsoleShellFrame

Owns the console's frame: the background and foreground the whole shell is painted on, for as long as the process owns the terminal.

IRDCoreLogger

An ILogger that renders structured console messages, plus typed overloads for the RD-VBA error kinds and pre-built ConsoleMessageBuilders.

Enums

SourcePathScrubMode

How Scrub(string, SourcePathScrubMode) rewrites a source-file path it finds in error / stack-trace text.