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

#include <logger_config.hpp>

Public Member Functions

 logger_config (const std::string &name="")
 
logger_configadd_appender (const string &s)
 

Public Attributes

string name
 
ostring parent
 
fc::optional< log_levellevel
 if not set, then parents level is used. More...
 
bool enabled
 
bool additivity
 if any appenders are sepecified, then parent's appenders are not set. More...
 
std::vector< string > appenders
 

Detailed Description

Definition at line 21 of file logger_config.hpp.

Constructor & Destructor Documentation

◆ logger_config()

fc::logger_config::logger_config ( const std::string &  name = "")
inline

Definition at line 22 of file logger_config.hpp.

Member Function Documentation

◆ add_appender()

logger_config & fc::logger_config::add_appender ( const string &  s)

Definition at line 16 of file logger_config.cpp.

Member Data Documentation

◆ additivity

bool fc::logger_config::additivity

if any appenders are sepecified, then parent's appenders are not set.

Definition at line 29 of file logger_config.hpp.

◆ appenders

std::vector<string> fc::logger_config::appenders

Definition at line 30 of file logger_config.hpp.

◆ enabled

bool fc::logger_config::enabled

Definition at line 27 of file logger_config.hpp.

◆ level

fc::optional<log_level> fc::logger_config::level

if not set, then parents level is used.

Definition at line 26 of file logger_config.hpp.

◆ name

string fc::logger_config::name

Definition at line 23 of file logger_config.hpp.

◆ parent

ostring fc::logger_config::parent

Definition at line 24 of file logger_config.hpp.


The documentation for this struct was generated from the following files: