Aspose::Email::Tools::Logging::DebugFormatter Class Reference

Represents the class for formatting log entry messages. More...

Inherits Aspose::Email::Tools::Logging::Formatter.

Public Member Functions

System::String Format (System::SharedPtr< LogEntry > entry) override
 Formats a log entry and return a string to be outputted. More...
 
- Public Member Functions inherited from Aspose::Email::Tools::Logging::Formatter
System::String get_Header () override
 Gets the header. More...
 
virtual void set_Header (System::String value)
 Sets the header. More...
 
System::String get_Footer () override
 Gets the footer. More...
 
virtual void set_Footer (System::String value)
 Sets the footer. More...
 
System::String get_LogHeader () override
 Gets the log header More...
 
virtual void set_LogHeader (System::String value)
 Sets the log header More...
 
System::String Format (System::SharedPtr< LogEntry > entry) override
 Formats a log entry and return a string to be outputted. More...
 
System::String Format (System::DateTime datatime) override
 Formats a datetime and return a string to be outputted. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Aspose::Email::Tools::Logging::Formatter
static System::SharedPtr< IFormatterget_DefaultFormatter ()
 Gets default formatter More...
 
static void set_DefaultFormatter (System::SharedPtr< IFormatter > value)
 Sets default formatter More...
 
static System::ArrayPtr< System::String > get_MonthNames ()
 The full names of all 12 months More...
 
static System::ArrayPtr< System::String > get_MonthShortNames ()
 The short names of all 12 months More...
 
static System::ArrayPtr< System::String > get_WeekdayNames ()
 The full names of all weekdays More...
 
static System::ArrayPtr< System::String > get_WeekdayShortNames ()
 The short names of all weekdays More...
 
static System::ArrayPtr< System::String > get_DateStrings ()
 
static System::ArrayPtr< System::String > get_MillisecondStrings ()
 
static System::ArrayPtr< System::String > get_YearStrings ()
 
- Static Public Attributes inherited from Aspose::Email::Tools::Logging::Formatter
static const System::String PasswordView
 
static const char16_t COLON_CHAR
 
static const char16_t HYPHEN_CHAR
 
static const char16_t PERIOD_CHAR
 
static const char16_t SPACE_CHAR
 
static System::String NEW_LINE
 
static System::String ISO_8601_TIME_ZONE
 The 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 More...
 
static System::String ISO_8601_DAYLIGHT_SAVINGS_TIME_ZONE
 The 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 More...
 
- Protected Member Functions inherited from Aspose::Email::Tools::Logging::Formatter
 Formatter ()
 Creates an instance of Formatter. More...
 
 Formatter (System::SharedPtr< System::Text::StringBuilder > logHeaderText)
 Initializes a new instance of the Formatter class. More...
 
 Formatter (System::String logHeaderText)
 Initializes a new instance of the Formatter class. More...
 

Detailed Description

Represents the class for formatting log entry messages.

Member Function Documentation

◆ Format()

System::String Aspose::Email::Tools::Logging::DebugFormatter::Format ( System::SharedPtr< LogEntry entry)
overridevirtual

Formats a log entry and return a string to be outputted.

Parameters
entryThe Log entry to format.
Returns
String representing the log entry.

Implements Aspose::Email::Tools::Logging::IFormatter.