Table of Contents

Namespace Microsoft.Practices.EnterpriseLibrary.Logging.Formatters

Classes

BinaryLogFormatter

Log formatter that will format a LogEntry in a way suitable for wire transmission.

GenericTextFormatter<T>

Formats an instance for T with a sequence of Formatter<T> instances.

JsonLogFormatter

Represents a log formatter that will format a LogEntry in JSON-compliant format.

LogFormatter

Abstract implememtation of the ILogFormatter interface.

TextFormatter

Represents a template based formatter for LogEntry messages.

TokenFunction

Abstract base for all TokenFunction-derived classes. Provides default algorithm for formatting a token.

XmlLogFormatter

Formats a LogEntry and any subclass of it to an XML string representation.

Interfaces

ILogFormatter

Represents the interface for formatting log entry messsages.

Enums

JsonFormatting

Specifies formatting options.

Delegates

Formatter<T>

Returns a string representation of instance

ParameterizedFormatterFactory<T>

Creates a Formatter<T> based on a parameter.

TokenHandler<T>

Transforms a token definition from a string template into a Formatter<T>.