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: 21.11
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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(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
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also