Partilhar via


Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Formatters Namespace

Applies to: Semantic Logging 2.0

 

Classes

  Class Description
Public class DefaultConsoleColorMapper
Default console color mapper class.
Public class EventTextFormatter
A IEventTextFormatter implementation that writes out formatted text.
Public class JsonEventTextFormatter
A IEventTextFormatter implementation that writes out text formatted as JSON.
Public class XmlEventTextFormatter
A IEventTextFormatter implementation that writes out text formatted as XML compliant with the Event Schema.

Interfaces

  Interface Description
Public interface IConsoleColorMapper
Provides mapping between an EventLevel and a console foreground color.
Public interface IEventTextFormatter
Provides a generic interface for an event text formatter used whenever an event has been written by an event source for which the event listener has enabled events.

Enumerations

  Enumeration Description
Public enumeration EventTextFormatting
Specifies formatting options .