Aspose::Email::Tools::Logging::LogLevel Class Reference

Defines available log levels. More...

Inherits Object.

Public Member Functions

ASPOSE_EMAIL_SHARED_API int32_t get_Ordinal () const
 
virtual ASPOSE_EMAIL_SHARED_API System::String ToString () const
 Returns a string representation of the log level. More...
 
ASPOSE_EMAIL_SHARED_API int32_t CompareTo (System::SharedPtr< System::Object > obj)
 Compares the level to the other LogLevel object. More...
 

Static Public Attributes

static ASPOSE_EMAIL_SHARED_API System::SharedPtr< LogLevelMaxLevel
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< LogLevelMinLevel
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< LogLevelTrace
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< LogLevelDebug
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< LogLevelInformation
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< LogLevelWarning
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< LogLevelError
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< LogLevelFatal
 

Friends

ASPOSE_EMAIL_SHARED_API bool operator<= (System::SharedPtr< LogLevel > l1, System::SharedPtr< LogLevel > l2)
 
ASPOSE_EMAIL_SHARED_API bool operator>= (System::SharedPtr< LogLevel > l1, System::SharedPtr< LogLevel > l2)
 
ASPOSE_EMAIL_SHARED_API bool operator< (System::SharedPtr< LogLevel > l1, System::SharedPtr< LogLevel > l2)
 
ASPOSE_EMAIL_SHARED_API bool operator> (System::SharedPtr< LogLevel > l1, System::SharedPtr< LogLevel > l2)
 

Detailed Description

Defines available log levels.

Member Function Documentation

◆ CompareTo()

ASPOSE_EMAIL_SHARED_API int32_t Aspose::Email::Tools::Logging::LogLevel::CompareTo ( System::SharedPtr< System::Object >  obj)

Compares the level to the other LogLevel object.

Parameters
objthe object object
Returns
a value less than zero when this logger's Ordinal is less than the other logger's ordinal, 0 when they are equal and greater than zero when this ordinal is greater than the other ordinal.

◆ get_Ordinal()

ASPOSE_EMAIL_SHARED_API int32_t Aspose::Email::Tools::Logging::LogLevel::get_Ordinal ( ) const

◆ ToString()

virtual ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Tools::Logging::LogLevel::ToString ( ) const
virtual

Returns a string representation of the log level.

Returns
Log level name.

Friends And Related Function Documentation

◆ operator<

ASPOSE_EMAIL_SHARED_API bool operator< ( System::SharedPtr< LogLevel l1,
System::SharedPtr< LogLevel l2 
)
friend

◆ operator<=

ASPOSE_EMAIL_SHARED_API bool operator<= ( System::SharedPtr< LogLevel l1,
System::SharedPtr< LogLevel l2 
)
friend

◆ operator>

ASPOSE_EMAIL_SHARED_API bool operator> ( System::SharedPtr< LogLevel l1,
System::SharedPtr< LogLevel l2 
)
friend

◆ operator>=

ASPOSE_EMAIL_SHARED_API bool operator>= ( System::SharedPtr< LogLevel l1,
System::SharedPtr< LogLevel l2 
)
friend

Member Data Documentation

◆ Debug

ASPOSE_EMAIL_SHARED_API System::SharedPtr<LogLevel> Aspose::Email::Tools::Logging::LogLevel::Debug
static

◆ Error

ASPOSE_EMAIL_SHARED_API System::SharedPtr<LogLevel> Aspose::Email::Tools::Logging::LogLevel::Error
static

◆ Fatal

ASPOSE_EMAIL_SHARED_API System::SharedPtr<LogLevel> Aspose::Email::Tools::Logging::LogLevel::Fatal
static

◆ Information

ASPOSE_EMAIL_SHARED_API System::SharedPtr<LogLevel> Aspose::Email::Tools::Logging::LogLevel::Information
static

◆ MaxLevel

ASPOSE_EMAIL_SHARED_API System::SharedPtr<LogLevel> Aspose::Email::Tools::Logging::LogLevel::MaxLevel
static

◆ MinLevel

ASPOSE_EMAIL_SHARED_API System::SharedPtr<LogLevel> Aspose::Email::Tools::Logging::LogLevel::MinLevel
static

◆ Trace

ASPOSE_EMAIL_SHARED_API System::SharedPtr<LogLevel> Aspose::Email::Tools::Logging::LogLevel::Trace
static

◆ Warning

ASPOSE_EMAIL_SHARED_API System::SharedPtr<LogLevel> Aspose::Email::Tools::Logging::LogLevel::Warning
static