Class to restrict access to the log configuration parameters.
More...
#include <uhal/log/log.hpp>
|
| static bool | mLoggingIncludesFatal = true |
| | static bool storing whether the Fatal level is to be included in the log output More...
|
| |
| static bool | mLoggingIncludesError = true |
| | static bool storing whether the Error level is to be included in the log output More...
|
| |
| static bool | mLoggingIncludesWarning = true |
| | static bool storing whether the Warning level is to be included in the log output More...
|
| |
| static bool | mLoggingIncludesNotice = true |
| | static bool storing whether the Notice level is to be included in the log output More...
|
| |
| static bool | mLoggingIncludesInfo = true |
| | static bool storing whether the Info level is to be included in the log output More...
|
| |
| static bool | mLoggingIncludesDebug = false |
| | static bool storing whether the Debug level is to be included in the log output More...
|
| |
| static const bool | mTrue = true |
| | Define a static const member variable to have a value of true so that we can safely return a const reference to true. More...
|
| |
| static const bool | mFalse = false |
| | Define a static const member variable to have a value of false so that we can safely return a const reference to false. More...
|
| |
| static boost::mutex | mMutex |
| | Define a static Mutex lock for thread safe logging. More...
|
| |
Class to restrict access to the log configuration parameters.
Definition at line 102 of file log.hpp.
◆ log_configuration()
| uhal::log_configuration::log_configuration |
( |
| ) |
|
|
private |
◆ ~log_configuration()
| virtual uhal::log_configuration::~log_configuration |
( |
| ) |
|
|
privatevirtual |
◆ disableLogging
Function to disable all logging levels.
Definition at line 65 of file log.cpp.
◆ GetLoggingMutex
| boost::mutex& GetLoggingMutex |
( |
| ) |
|
|
friend |
Make GetLoggingMutex function a friend so it can access our private members.
Definition at line 79 of file log.cpp.
◆ LoggingIncludes [1/6]
| const bool& LoggingIncludes |
( |
const DebugLevel & |
| ) |
|
|
friend |
Make LoggingIncludes function a friend so it can access our private members.
- Returns
- whether the level Debug is to be included in the log output
Definition at line 250 of file log.cpp.
◆ LoggingIncludes [2/6]
| const bool& LoggingIncludes |
( |
const ErrorLevel & |
| ) |
|
|
friend |
Make LoggingIncludes function a friend so it can access our private members.
- Returns
- whether the level Error is to be included in the log output
Definition at line 122 of file log.cpp.
◆ LoggingIncludes [3/6]
| const bool& LoggingIncludes |
( |
const FatalLevel & |
| ) |
|
|
friend |
Make LoggingIncludes function a friend so it can access our private members.
- Returns
- whether the level Fatal is to be included in the log output
Definition at line 100 of file log.cpp.
◆ LoggingIncludes [4/6]
| const bool& LoggingIncludes |
( |
const InfoLevel & |
| ) |
|
|
friend |
Make LoggingIncludes function a friend so it can access our private members.
- Returns
- whether the level Info is to be included in the log output
Definition at line 212 of file log.cpp.
◆ LoggingIncludes [5/6]
Make LoggingIncludes function a friend so it can access our private members.
- Returns
- whether the level Notice is to be included in the log output
Definition at line 178 of file log.cpp.
◆ LoggingIncludes [6/6]
Make LoggingIncludes function a friend so it can access our private members.
- Returns
- whether the level Warning is to be included in the log output
Definition at line 148 of file log.cpp.
◆ setLogLevelTo [1/6]
Make setLogLevelTo function a friend so it can access our private members.
Definition at line 228 of file log.cpp.
◆ setLogLevelTo [2/6]
Make setLogLevelTo function a friend so it can access our private members.
Definition at line 108 of file log.cpp.
◆ setLogLevelTo [3/6]
Make setLogLevelTo function a friend so it can access our private members.
Definition at line 88 of file log.cpp.
◆ setLogLevelTo [4/6]
Make setLogLevelTo function a friend so it can access our private members.
Definition at line 192 of file log.cpp.
◆ setLogLevelTo [5/6]
Make setLogLevelTo function a friend so it can access our private members.
Definition at line 160 of file log.cpp.
◆ setLogLevelTo [6/6]
Make setLogLevelTo function a friend so it can access our private members.
Definition at line 132 of file log.cpp.
◆ mFalse
| const bool uhal::log_configuration::mFalse = false |
|
staticprivate |
Define a static const member variable to have a value of false so that we can safely return a const reference to false.
Definition at line 156 of file log.hpp.
Referenced by uhal::LoggingIncludes().
◆ mLoggingIncludesDebug
| bool uhal::log_configuration::mLoggingIncludesDebug = false |
|
staticprivate |
◆ mLoggingIncludesError
| bool uhal::log_configuration::mLoggingIncludesError = true |
|
staticprivate |
◆ mLoggingIncludesFatal
| bool uhal::log_configuration::mLoggingIncludesFatal = true |
|
staticprivate |
◆ mLoggingIncludesInfo
| bool uhal::log_configuration::mLoggingIncludesInfo = true |
|
staticprivate |
◆ mLoggingIncludesNotice
| bool uhal::log_configuration::mLoggingIncludesNotice = true |
|
staticprivate |
◆ mLoggingIncludesWarning
| bool uhal::log_configuration::mLoggingIncludesWarning = true |
|
staticprivate |
◆ mMutex
| boost::mutex uhal::log_configuration::mMutex |
|
staticprivate |
◆ mTrue
| const bool uhal::log_configuration::mTrue = true |
|
staticprivate |
Define a static const member variable to have a value of true so that we can safely return a const reference to true.
Definition at line 154 of file log.hpp.
The documentation for this class was generated from the following files: