SimpleFormatter Class

Represents the default implementation of IFormatter interface.
Inheritance Hierarchy

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

The SimpleFormatter type exposes the following members.

Constructors
  NameDescription
Public methodSimpleFormatter
Creates a new SimpleFormatter instance.
Public methodSimpleFormatter(String, String)
Creates a new SimpleFormatter instance.
Properties
  NameDescription
Public propertyFooter
Gets or sets the footer.
(Inherited from Formatter.)
Public propertyHeader
Gets or sets the header.
(Inherited from Formatter.)
Public propertyLogHeader
Gets or sets the log header
(Inherited from Formatter.)
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodFormat(DateTime)
Formats a datetime and return a string to be outputted.
(Overrides FormatterFormat(DateTime).)
Public methodFormat(LogEntry)
Formats a log entry and return a string to be outputted.
(Overrides FormatterFormat(LogEntry).)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also