Formatter Class

Represents the interface for formatting log entry messsages.
Inheritance Hierarchy

Namespace:  Aspose.Email.Tools.Logging
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public abstract class Formatter : IFormatter

The Formatter type exposes the following members.

Constructors
  NameDescription
Protected methodFormatter
Creates an instance of Formatter.
Protected methodFormatter(String)
Initializes a new instance of the Formatter class.
Protected methodFormatter(StringBuilder)
Initializes a new instance of the Formatter class.
Properties
  NameDescription
Public propertyStatic memberDefaultFormatter
Gets or sets default formatter
Public propertyFooter
Gets or sets the footer.
Public propertyHeader
Gets or sets the header.
Public propertyLogHeader
Gets or sets the log header
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFormat(DateTime)
Formats a datetime and return a string to be outputted.
Public methodFormat(LogEntry)
Formats a log entry and return a string to be outputted.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also