BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface 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

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

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

Definition at line 41 of file log_message.hpp.

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

Definition at line 42 of file log_message.hpp.

Member Function Documentation

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

Definition at line 43 of file log_message.hpp.

Member Data Documentation

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: