Table of Contents

Namespace RDCore.SDK.ConsoleIO

Classes

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).

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.

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.

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.