Enum Level

Description

Represents enumeration for severity level used to determine level of logging.

@detail With Easylogging++, developers may disable or enable any level regardless of what the severity is. Or they can choose to log using hierarchical logging flag

Values

Global = 1

Generic level that represents all the levels. Useful when setting global configuration for all levels.

Mentioned in:

Getting Started / Level

Getting Started / Using Configuration File

Getting Started / Global Configurations

STL / all-logs.cpp

Trace = 2

Information that can be useful to back-trace certain events - mostly useful than debug logs.

Mentioned in:

Getting Started / Level

Getting Started / Logging Format Specifiers

Hello Gtkmm / Gtkmm / main.cc

Debug = 4

Informational events most useful for developers to debug application.

Mentioned in:

Getting Started / Level

Getting Started / Logging Format Specifiers

Fatal = 8

Severe error information that will presumably abort application.

Mentioned in:

Getting Started / Level

Getting Started / Logging Format Specifiers

Getting Started / Installing Custom Crash Handlers

Error = 16

Information representing errors in application but application will keep running.

Mentioned in:

Getting Started / Level

Getting Started / Logging Format Specifiers

File Splitter Joiner / Qt / partprocessor.cpp

File Splitter Joiner / Qt / partprocessor.h

STL / configurator.cpp

STL / global-configuration.cpp

Warning = 32

Useful when application has potentially harmful situations.

Mentioned in:

Getting Started / Level

Getting Started / Logging Format Specifiers

File Splitter Joiner / Qt / addsplittedfiledialog.cpp

Verbose = 64

Information that can be highly useful and vary with verbose logging level.

Mentioned in:

Getting Started / Level

Getting Started / Logging Format Specifiers

Getting Started / Verbose Logging

Getting Started / Basic

Getting Started / Conditional and Occasional Logging

Getting Started / Verbose-Level

Getting Started / Check If Verbose Logging Is On

Basic / Qt / mythread.h

STL / configurator.cpp

STL / pthread.cpp

STL / verbose.cpp

Info = 128

Mainly useful to represent current progress of application.

Mentioned in:

Getting Started / Level

Getting Started / Using el::Configurations Class

Getting Started / Logging Format Specifiers

Getting Started / Reading Configurations

Basic / Qt / mythread.h

Fast Dictionary / Qt / ui_mainwindow.h

STL / configurator.cpp

STL / global-configuration.cpp

STL / pthread.cpp

Unknown = 1010

Represents unknown level.

Mentioned in

Source

Lines 577-596 in src/easylogging++.h.

enum class Level : base::type::EnumType {
  /// @brief Generic level that represents all the levels. Useful when setting global configuration for all levels
  Global = 1,
  /// @brief Information that can be useful to back-trace certain events - mostly useful than debug logs.
  Trace = 2,
  /// @brief Informational events most useful for developers to debug application
  Debug = 4,
  /// @brief Severe error information that will presumably abort application
  Fatal = 8,
  /// @brief Information representing errors in application but application will keep running
  Error = 16,
  /// @brief Useful when application has potentially harmful situations
  Warning = 32,
  /// @brief Information that can be highly useful and vary with verbose logging level.
  Verbose = 64,
  /// @brief Mainly useful to represent current progress of application
  Info = 128,
  /// @brief Represents unknown level
  Unknown = 1010
};





Add Discussion

Log in to comment