Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mctools::g4::loggable_support Class Reference

Base class with logging support. More...

#include <bayeux/mctools/g4/loggable_support.h>

Inheritance diagram for mctools::g4::loggable_support:
mctools::g4::manager

Public Member Functions

 loggable_support ()
 Default constructor. More...
 
 loggable_support (datatools::logger::priority)
 Constructor from logging priority level. More...
 
datatools::logger::priority get_logging_priority () const
 
virtual ~loggable_support ()
 Destructor. More...
 
void set_logging_priority (const std::string &priority_label_)
 
void set_logging_priority (datatools::logger::priority)
 
bool is_debug () const
 
void set_debug (bool)
 
bool is_verbose () const
 
void set_verbose (bool)
 

Protected Member Functions

void _initialize_logging_support (const datatools::properties &)
 
datatools::logger::priority _logprio () const
 

Protected Attributes

datatools::logger::priority _logging_priority
 Logging priority threshold. More...
 

Detailed Description

Base class with logging support.

Constructor & Destructor Documentation

◆ loggable_support() [1/2]

mctools::g4::loggable_support::loggable_support ( )

Default constructor.

◆ loggable_support() [2/2]

mctools::g4::loggable_support::loggable_support ( datatools::logger::priority  )
explicit

Constructor from logging priority level.

◆ ~loggable_support()

virtual mctools::g4::loggable_support::~loggable_support ( )
virtual

Destructor.

Member Function Documentation

◆ _initialize_logging_support()

void mctools::g4::loggable_support::_initialize_logging_support ( const datatools::properties )
protected

◆ _logprio()

datatools::logger::priority mctools::g4::loggable_support::_logprio ( ) const
protected

◆ get_logging_priority()

datatools::logger::priority mctools::g4::loggable_support::get_logging_priority ( ) const

◆ is_debug()

bool mctools::g4::loggable_support::is_debug ( ) const

◆ is_verbose()

bool mctools::g4::loggable_support::is_verbose ( ) const

◆ set_debug()

void mctools::g4::loggable_support::set_debug ( bool  )

◆ set_logging_priority() [1/2]

void mctools::g4::loggable_support::set_logging_priority ( const std::string &  priority_label_)

◆ set_logging_priority() [2/2]

void mctools::g4::loggable_support::set_logging_priority ( datatools::logger::priority  )

◆ set_verbose()

void mctools::g4::loggable_support::set_verbose ( bool  )

Member Data Documentation

◆ _logging_priority

datatools::logger::priority mctools::g4::loggable_support::_logging_priority
protected

Logging priority threshold.


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