Table of Contents

Interface ILogSink

Namespace
FlowGraph.Core.Diagnostics
Assembly
FlowGraph.Core.dll

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

public interface ILogSink

Properties

Name

Gets the name of this sink for identification purposes.

string Name { get; }

Property Value

string

Methods

Flush()

Flushes any buffered log entries.

void Flush()

Write(LogEntry)

Writes a log entry to this sink.

void Write(LogEntry entry)

Parameters

entry LogEntry

The log entry to write.