EventEntryExtensions Members
Include Protected Members
Include Inherited Members
Applies to: Semantic Logging 2.0
The EventEntryExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
SubscribeWithFormatter |
Subscribes an IObserver<T> sink by doing a straight projection of a sequence of EventEntry and applying a format using a IEventTextFormatter instance to convert it to a String message.
|
|
SubscribeWithFormatterAndColor |
Subscribes a sink by doing a straight projection of a sequence of EventEntry and applying a format using a IEventTextFormatter and a IConsoleColorMapper instances to convert it to a sequence of entries for that sink.
|
|
TryFormatAsString |
Formats an EventEntry as a string using an IEventTextFormatter.
|
|
TryFormatAsStringAndColor |
Formats an EventEntry as a string using an IEventTextFormatter, and assigns a ConsoleColor depending on the event level.
|
See Also
Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Utility Namespace