Represents an appender for console output. More...
Inherits Aspose::Email::Tools::Logging::Appender.
Public Member Functions | |
ASPOSE_EMAIL_SHARED_API | ConsoleAppender () |
Initializes a new instance of the ConsoleAppender class. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | Append (System::SharedPtr< LogEntry > entry) |
Appends the specified log entry to the appender. More... | |
![]() | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< IFormatter > | get_Formatter () |
Gets the formatter. More... | |
ASPOSE_EMAIL_SHARED_API void | set_Formatter (System::SharedPtr< IFormatter > value) |
Sets the formatter. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | AppendHeader () |
Starts log file with specific header. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | Close () |
Closes the appender. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | Initialize () |
Initializes the appender instance. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | OnClose () |
virtual ASPOSE_EMAIL_SHARED_API void | OnInitialize () |
ASPOSE_EMAIL_SHARED_API void | Dispose () |
Releases the unmanaged resources used by the Appender. More... | |
virtual ASPOSE_EMAIL_SHARED_API | ~Appender () |
Additional Inherited Members | |
![]() | |
ASPOSE_EMAIL_SHARED_API bool | get_Initialized () const |
Indicates whether an Appender is initialized. More... | |
ASPOSE_EMAIL_SHARED_API bool | get_Closed () const |
Indicates whether an Appender is closed. More... | |
ASPOSE_EMAIL_SHARED_API | Appender () |
Inistializes a new instance of Appender class. More... | |
ASPOSE_EMAIL_SHARED_API | Appender (System::SharedPtr< IFormatter > formatter) |
Inistializes a new instance of Appender class. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | Dispose (bool disposing) |
Releases the unmanaged resources used by the Appender, and optionally disposes of the managed resources. More... | |
Represents an appender for console output.
ASPOSE_EMAIL_SHARED_API Aspose::Email::Tools::Logging::ConsoleAppender::ConsoleAppender | ( | ) |
Initializes a new instance of the ConsoleAppender class.
|
virtual |
Appends the specified log entry to the appender.
entry | The log entry. |
Implements Aspose::Email::Tools::Logging::Appender.