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

Defines available log levels. More...

Inherits Object.

Public Member Functions

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

Static Public Attributes

static System::SharedPtr< LogLevelMaxLevel
 
static System::SharedPtr< LogLevelMinLevel
 
static System::SharedPtr< LogLevelTrace
 The Trace level. More...
 
static System::SharedPtr< LogLevelDebug
 The Debug level. More...
 
static System::SharedPtr< LogLevelInformation
 The Info level. More...
 
static System::SharedPtr< LogLevelWarning
 The Warn level. More...
 
static System::SharedPtr< LogLevelError
 The Error level. More...
 
static System::SharedPtr< LogLevelFatal
 The Fatal level. More...
 

Friends

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

Detailed Description

Defines available log levels.

Member Function Documentation

◆ CompareTo()

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()

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

◆ ToString()

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

Returns a string representation of the log level.

Returns
Log level name.

Friends And Related Function Documentation

◆ operator<

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

◆ operator<=

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

◆ operator>

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

◆ operator>=

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

Member Data Documentation

◆ Debug

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

The Debug level.

◆ Error

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

The Error level.

◆ Fatal

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

The Fatal level.

◆ Information

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

The Info level.

◆ MaxLevel

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

◆ MinLevel

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

◆ Trace

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

The Trace level.

◆ Warning

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

The Warn level.