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
Methods
Flush()
Flushes any buffered log entries.
void Flush()
Write(LogEntry)
Writes a log entry to this sink.
void Write(LogEntry entry)
Parameters
entryLogEntryThe log entry to write.