BubbleProfiler  0.3.0
by Peter Athron, Csaba Balazs, Michael Bardsley, Andrew Fowlie, Dylan Harries & Graham White
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
BubbleProfiler::logging::Logging_manager Class Reference

#include <logging_manager.hpp>

Public Member Functions

 Logging_manager (const Logging_manager &)=delete
 
 Logging_manager (Logging_manager &&)=delete
 
Logging_manageroperator= (const Logging_manager &)=delete
 
Logging_manageroperator= (Logging_manager &&)=delete
 
void set_logging_enabled (bool flag)
 
void set_minimum_log_level (Log_level level)
 
void log (const Log_message &message)
 

Static Public Member Functions

static Logging_managerget_manager ()
 

Protected Member Functions

 Logging_manager ()=default
 
 ~Logging_manager ()=default
 

Private Member Functions

bool above_min_level (Log_level) const
 

Private Attributes

bool logging_enabled {true}
 
Log_level min_level {Log_level::Warning}
 

Detailed Description

Definition at line 27 of file logging_manager.hpp.

Constructor & Destructor Documentation

BubbleProfiler::logging::Logging_manager::Logging_manager ( const Logging_manager )
delete
BubbleProfiler::logging::Logging_manager::Logging_manager ( Logging_manager &&  )
delete
BubbleProfiler::logging::Logging_manager::Logging_manager ( )
protecteddefault

Referenced by set_minimum_log_level().

BubbleProfiler::logging::Logging_manager::~Logging_manager ( )
protecteddefault

Referenced by set_minimum_log_level().

Member Function Documentation

bool BubbleProfiler::logging::Logging_manager::above_min_level ( Log_level  level) const
private
Logging_manager & BubbleProfiler::logging::Logging_manager::get_manager ( )
static
void BubbleProfiler::logging::Logging_manager::log ( const Log_message message)
Logging_manager& BubbleProfiler::logging::Logging_manager::operator= ( const Logging_manager )
delete
Logging_manager& BubbleProfiler::logging::Logging_manager::operator= ( Logging_manager &&  )
delete
void BubbleProfiler::logging::Logging_manager::set_logging_enabled ( bool  flag)
inline

Definition at line 36 of file logging_manager.hpp.

References logging_enabled.

void BubbleProfiler::logging::Logging_manager::set_minimum_log_level ( Log_level  level)
inline

Member Data Documentation

bool BubbleProfiler::logging::Logging_manager::logging_enabled {true}
private

Definition at line 46 of file logging_manager.hpp.

Referenced by log(), and set_logging_enabled().

Log_level BubbleProfiler::logging::Logging_manager::min_level {Log_level::Warning}
private

Definition at line 47 of file logging_manager.hpp.

Referenced by above_min_level(), and set_minimum_log_level().


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