Formatter

Formatter class

Inherits: Aspose::Email::Tools::Logging::IFormatter

Represents the interface for formatting log entry messsages.

Constructors

NameDescription
Formatter (3 overloads)Creates an instance of Formatter .

Methods

NameDescription
Format (2 overloads)Formats a datetime and return a string to be outputted.
get_DateStrings
get_DefaultFormatterGets default formatter
get_FooterGets the footer.
get_HeaderGets the header.
get_LogHeaderGets the log header
get_MillisecondStrings
get_MonthNamesThe full names of all 12 months
get_MonthShortNamesThe short names of all 12 months
get_WeekdayNamesThe full names of all weekdays
get_WeekdayShortNamesThe short names of all weekdays
get_YearStrings
set_DefaultFormatterSets default formatter
set_FooterSets the footer.
set_HeaderSets the header.
set_LogHeaderSets the log header
ProtocolFormatter
SimpleFormatter
StandardFormatter
COLON_CHAR
HYPHEN_CHAR
ISO_8601_DAYLIGHT_SAVINGS_TIME_ZONEThe ISO 8601 standard time zone specification, showing hours offset from GMT (ex.: “-04:00”). The value returned is correct for the local environment for all dates in daylight savings time
ISO_8601_TIME_ZONEThe ISO 8601 standard time zone specification, showing hours offset from GMT (ex.: “-04:00”) The value returned is correct for the local environment for all dates not in daylight savings time
NEW_LINE
PasswordView
PERIOD_CHAR
SPACE_CHAR