Class LogFormatter
- Namespace
- Microsoft.Practices.EnterpriseLibrary.Logging.Formatters
- Assembly
- Microsoft.Practices.EnterpriseLibrary.Logging.dll
Abstract implememtation of the ILogFormatter interface.
public abstract class LogFormatter : ILogFormatter
- Inheritance
-
LogFormatter
- Implements
- Derived
- Inherited Members
Constructors
LogFormatter()
protected LogFormatter()
Methods
Format(LogEntry)
Formats a log entry and return a string to be outputted.
public abstract string Format(LogEntry log)
Parameters
log
LogEntryLog entry to format.
Returns
- string
A string representing the log entry.