Aspose::Email::Tools::Logging::ConsoleAppender Class Reference

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...
 
- Public Member Functions inherited from Aspose::Email::Tools::Logging::Appender
ASPOSE_EMAIL_SHARED_API System::SharedPtr< IFormatterget_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

- Protected Member Functions inherited from Aspose::Email::Tools::Logging::Appender
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...
 

Detailed Description

Represents an appender for console output.

Constructor & Destructor Documentation

◆ ConsoleAppender()

ASPOSE_EMAIL_SHARED_API Aspose::Email::Tools::Logging::ConsoleAppender::ConsoleAppender ( )

Initializes a new instance of the ConsoleAppender class.

Member Function Documentation

◆ Append()

virtual ASPOSE_EMAIL_SHARED_API void Aspose::Email::Tools::Logging::ConsoleAppender::Append ( System::SharedPtr< LogEntry entry)
virtual

Appends the specified log entry to the appender.

Parameters
entryThe log entry.

Implements Aspose::Email::Tools::Logging::Appender.