BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Types | Public Member Functions | Public Attributes | List of all members
fc::log_level Class Reference

#include <log_message.hpp>

Public Types

enum  values {
  all, debug, info, warn,
  error, off
}
 Define's the various log levels for reporting. More...
 

Public Member Functions

 log_level (values v=off)
 
 log_level (int v)
 
 operator int () const
 

Public Attributes

values value
 

Detailed Description

Named scope for log_level enumeration.

Definition at line 23 of file log_message.hpp.

Member Enumeration Documentation

◆ values

Define's the various log levels for reporting.

Each log level includes all higher levels such that Debug includes Error, but Error does not include Debug.

Enumerator
all 
debug 
info 
warn 
error 
off 

Definition at line 32 of file log_message.hpp.

Constructor & Destructor Documentation

◆ log_level() [1/2]

fc::log_level::log_level ( values  v = off)
inline

Definition at line 41 of file log_message.hpp.

◆ log_level() [2/2]

fc::log_level::log_level ( int  v)
inlineexplicit

Definition at line 42 of file log_message.hpp.

Member Function Documentation

◆ operator int()

fc::log_level::operator int ( ) const
inline

Definition at line 43 of file log_message.hpp.

Member Data Documentation

◆ value

values fc::log_level::value

Definition at line 44 of file log_message.hpp.


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