StandardFormatter Class

Represents the class for formatting log entry messsages.
Inheritance Hierarchy
SystemObject
  Aspose.Email.Tools.LoggingFormatter
    Aspose.Email.Tools.LoggingStandardFormatter

Namespace:  Aspose.Email.Tools.Logging
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public class StandardFormatter : Formatter

The StandardFormatter type exposes the following members.

Constructors
  NameDescription
Public methodStandardFormatter
Initializes a new instance of the StandardFormatter class.
Public methodStandardFormatter(String)
Initializes a new instance of the StandardFormatter class.
Public methodStandardFormatter(StringBuilder)
Initializes a new instance of the StandardFormatter class.
Properties
  NameDescription
Public propertyFooter
Gest the footer string.
(Overrides FormatterFooter.)
Public propertyHeader
Gets the log header.
(Overrides FormatterHeader.)
Public propertyLogHeader
Gets or sets the log header
(Inherited from Formatter.)
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.
(Inherited from Formatter.)
Public methodFormat(LogEntry)
Formats a log entry and return a string to be outputted.
(Overrides FormatterFormat(LogEntry).)
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