Table of Contents

Namespace Shard.Logger

Classes

ConsoleRenderer

Coordinates all console output with an optional interactive prompt so log lines never garble the input line. Everything written to the terminal (logs, command output, the prompt itself) goes through here under a single lock: when a prompt is active, output erases it, writes, then redraws it, keeping the prompt anchored at the bottom. With no prompt (headless/redirected) output is written directly.

LoggerFactory

Factory for creating and configuring Shard loggers. Centralizes all logging setup.

Interfaces

IPromptController

An interactive prompt that can hide/redraw its input line around other output. All members are invoked while Gate is held.

IShardLogger

Shard logger facade. Wraps NLog and provides a simple interface for logging throughout the system.