ConsoleSink Class

Applies to: Semantic Logging Application Block 1.0

A sink that writes to the Console.

Namespace: Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks
Assembly: Microsoft.Practices.EnterpriseLibrary.SemanticLogging (in Microsoft.Practices.EnterpriseLibrary.SemanticLogging.dll) Version: 1.0.0.0 (1.0.1304.0)

Syntax

public class ConsoleSink : IObserver<Tuple<string, Nullable<ConsoleColor>>>
'Declaration
Public Class ConsoleSink
    Implements IObserver(Of Tuple(Of String, Nullable(Of ConsoleColor)))
public ref class ConsoleSink : IObserver<Tuple<String^, Nullable<ConsoleColor>>^>

Remarks

This class is thread-safe.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks.ConsoleSink

See Also

ConsoleSink Members

Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks Namespace