Represents the class for formatting log entry messsages. More...
Inherits Aspose::Email::Tools::Logging::Formatter.
Public Member Functions | |
virtual ASPOSE_EMAIL_SHARED_API System::String | get_Header () |
Gets the log header. More... | |
virtual ASPOSE_EMAIL_SHARED_API System::String | get_Footer () |
Gest the footer string. More... | |
ASPOSE_EMAIL_SHARED_API | StandardFormatter () |
Initializes a new instance of the StandardFormatter class. More... | |
ASPOSE_EMAIL_SHARED_API | StandardFormatter (System::SharedPtr< System::Text::StringBuilder > headerText) |
Initializes a new instance of the StandardFormatter class. More... | |
ASPOSE_EMAIL_SHARED_API | StandardFormatter (System::String headerText) |
Initializes a new instance of the StandardFormatter class. More... | |
virtual ASPOSE_EMAIL_SHARED_API System::String | Format (System::SharedPtr< LogEntry > entry) |
Formats a log entry and return a string to be outputted. More... | |
![]() | |
virtual ASPOSE_EMAIL_SHARED_API void | set_Header (System::String value) |
Sets the header. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_Footer (System::String value) |
Sets the footer. More... | |
virtual ASPOSE_EMAIL_SHARED_API System::String | get_LogHeader () |
Gets the log header More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_LogHeader (System::String value) |
Sets the log header More... | |
virtual ASPOSE_EMAIL_SHARED_API System::String | Format (System::DateTime datatime) |
Formats a datetime and return a string to be outputted. More... | |
Protected Member Functions | |
virtual ASPOSE_EMAIL_SHARED_API | ~StandardFormatter () |
![]() | |
ASPOSE_EMAIL_SHARED_API | Formatter () |
Creates an instance of Formatter. More... | |
ASPOSE_EMAIL_SHARED_API | Formatter (System::SharedPtr< System::Text::StringBuilder > logHeaderText) |
Initializes a new instance of the Formatter class. More... | |
ASPOSE_EMAIL_SHARED_API | Formatter (System::String logHeaderText) |
Initializes a new instance of the Formatter class. More... | |
Additional Inherited Members | |
![]() | |
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< IFormatter > | get_DefaultFormatter () |
Gets default formatter More... | |
static ASPOSE_EMAIL_SHARED_API void | set_DefaultFormatter (System::SharedPtr< IFormatter > value) |
Sets default formatter More... | |
static ASPOSE_EMAIL_SHARED_API System::ArrayPtr< System::String > | get_MonthNames () |
The full names of all 12 months More... | |
static ASPOSE_EMAIL_SHARED_API System::ArrayPtr< System::String > | get_MonthShortNames () |
The short names of all 12 months More... | |
static ASPOSE_EMAIL_SHARED_API System::ArrayPtr< System::String > | get_WeekdayNames () |
The full names of all weekdays More... | |
static ASPOSE_EMAIL_SHARED_API System::ArrayPtr< System::String > | get_WeekdayShortNames () |
The short names of all weekdays More... | |
static ASPOSE_EMAIL_SHARED_API System::ArrayPtr< System::String > | get_DateStrings () |
static ASPOSE_EMAIL_SHARED_API System::ArrayPtr< System::String > | get_MillisecondStrings () |
static ASPOSE_EMAIL_SHARED_API System::ArrayPtr< System::String > | get_YearStrings () |
![]() | |
static const ASPOSE_EMAIL_SHARED_API System::String | PasswordView |
static const ASPOSE_EMAIL_SHARED_API char16_t | COLON_CHAR |
static const ASPOSE_EMAIL_SHARED_API char16_t | HYPHEN_CHAR |
static const ASPOSE_EMAIL_SHARED_API char16_t | PERIOD_CHAR |
static const ASPOSE_EMAIL_SHARED_API char16_t | SPACE_CHAR |
static ASPOSE_EMAIL_SHARED_API System::String | NEW_LINE |
static ASPOSE_EMAIL_SHARED_API System::String | ISO_8601_TIME_ZONE |
static ASPOSE_EMAIL_SHARED_API System::String | ISO_8601_DAYLIGHT_SAVINGS_TIME_ZONE |
Represents the class for formatting log entry messsages.
ASPOSE_EMAIL_SHARED_API Aspose::Email::Tools::Logging::StandardFormatter::StandardFormatter | ( | ) |
Initializes a new instance of the StandardFormatter class.
ASPOSE_EMAIL_SHARED_API Aspose::Email::Tools::Logging::StandardFormatter::StandardFormatter | ( | System::SharedPtr< System::Text::StringBuilder > | headerText | ) |
Initializes a new instance of the StandardFormatter class.
headerText | The header text. |
ASPOSE_EMAIL_SHARED_API Aspose::Email::Tools::Logging::StandardFormatter::StandardFormatter | ( | System::String | headerText | ) |
Initializes a new instance of the StandardFormatter class.
headerText | The header text. |
|
protectedvirtual |
|
virtual |
Formats a log entry and return a string to be outputted.
entry | The Log entry to format. |
Reimplemented from Aspose::Email::Tools::Logging::Formatter.
|
virtual |
Gest the footer string.
Reimplemented from Aspose::Email::Tools::Logging::Formatter.
|
virtual |
Gets the log header.
Reimplemented from Aspose::Email::Tools::Logging::Formatter.