Class BinaryLogFormatter
- Namespace
- Microsoft.Practices.EnterpriseLibrary.Logging.Formatters
- Assembly
- Microsoft.Practices.EnterpriseLibrary.Logging.dll
Log formatter that will format a LogEntry in a way suitable for wire transmission.
public class BinaryLogFormatter : LogFormatter, ILogFormatter
- Inheritance
-
BinaryLogFormatter
- Implements
- Inherited Members
Constructors
BinaryLogFormatter()
Initializes a new instance of the BinaryLogFormatter class.
public BinaryLogFormatter()
Methods
Deserialize(string)
public static LogEntry Deserialize(string serializedLogEntry)
Parameters
Returns
Format(LogEntry)
Formats a log entry as a serialized representation.
public override string Format(LogEntry log)
Parameters
Returns
Remarks
Will use a BinaryFormatter for doing the actual serialization.