Deskflow 1.26.0.207
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
LogLevel Class Reference

#include <LogLevel.h>

Inheritance diagram for LogLevel:
Collaboration diagram for LogLevel:

Public Types

enum class  Level {
  Print = -1 , Fatal , Error , Warning ,
  Info , Debug , Verbose
}
 Log levels. More...

Static Public Member Functions

static QString toOption (const LogLevel::Level &level)
static QString toOption (const int &level)
static LogLevel::Level fromOption (const QString &level)
static QString toString (const LogLevel::Level &level)
static QString toString (const int &level)
static QStringList logLevelOptions ()
static QStringList logLevelNames ()

Member Enumeration Documentation

◆ Level

enum class LogLevel::Level
strong

Log levels.

The logging priority levels in order of highest to lowest priority.

Enumerator
Print 

For print only (no file or time).

Fatal 

For fatal errors.

Error 

For serious errors.

Warning 

For minor errors and warnings.

Info 

For informational messages.

Debug 

For important debugging messages.

Verbose 

For verbose debugging messages.

Member Function Documentation

◆ fromOption()

LogLevel::Level LogLevel::fromOption ( const QString & level)
inlinestatic

◆ logLevelNames()

QStringList LogLevel::logLevelNames ( )
inlinestatic

◆ logLevelOptions()

QStringList LogLevel::logLevelOptions ( )
inlinestatic

◆ toOption() [1/2]

QString LogLevel::toOption ( const int & level)
inlinestatic

◆ toOption() [2/2]

QString LogLevel::toOption ( const LogLevel::Level & level)
inlinestatic

◆ toString() [1/2]

QString LogLevel::toString ( const int & level)
inlinestatic

◆ toString() [2/2]

QString LogLevel::toString ( const LogLevel::Level & level)
inlinestatic

The documentation for this class was generated from the following file: