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: 21.3
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 (Inherited from Object.)
Protected methodFinalize (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 (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also