Table of Contents

Namespace FlowGraph.Core.Diagnostics

Classes

CompositeLogSink

Log sink that forwards entries to multiple other sinks.

ConsoleLogSink

Log sink that writes to Console. Useful for console applications and terminal output.

DebugLogSink

Log sink that writes to Debug. Useful for development in Visual Studio and other IDEs.

EdgeDiagnosticInfo

Diagnostic information about an edge.

FileLogSink

Log sink that writes to a file with automatic rotation support.

FlowGraphLogger

Central static logger for FlowGraph diagnostics. Thread-safe and designed for high-performance logging with minimal overhead when disabled.

FlowGraphLogger.CorrelationScope

Scope for correlating related log entries.

GraphDiagnosticSnapshot

Diagnostic snapshot of a graph's state.

LogEntry

Represents a structured log entry with rich contextual information.

LoggerConfiguration

Fluent configuration builder for FlowGraphLogger.

LoggingExtensions

Extension methods for FlowGraph diagnostic logging.

MemoryLogSink

Log sink that stores entries in memory for retrieval. Useful for displaying logs in UI or testing.

NodeDiagnosticInfo

Diagnostic information about a node.

Interfaces

ILogSink

Interface for log sinks that receive and process log entries. Implement this interface to create custom log destinations (file, console, network, etc.).

Enums

LogCategory

Defines the categories of diagnostic events in FlowGraph. Each category represents a distinct subsystem that can be independently configured.

LogLevel

Defines the severity levels for FlowGraph diagnostic logging.