μHAL (v2.7.9)
Part of the IPbus software repository
Namespaces | Functions
log.cpp File Reference
#include <stdlib.h>
#include <boost/thread/mutex.hpp>
#include "uhal/log/LogLevels.hpp"
#include "uhal/log/log.hpp"
#include "uhal/log/log_inserters.quote.hpp"
Include dependency graph for log.cpp:

Go to the source code of this file.

Namespaces

 uhal
 

Functions

void uhal::setLogLevelFromEnvironment (const char *aEnvVar)
 Function to specify that the logging level should be retrieved from an environment variable. More...
 
void uhal::disableLogging ()
 Function to disable all logging levels. More...
 
boost::mutex & uhal::GetLoggingMutex ()
 Function to retrieve the mutex lock used by the logger. More...
 
void uhal::setLogLevelTo (const FatalLevel &)
 Function to specify, at runtime, that only messages with a severity level above Fatal should be logged. More...
 
const bool & uhal::LoggingIncludes (const FatalLevel &)
 Function to check at runtime whether the level Fatal is to be included in the log output. More...
 
void uhal::setLogLevelTo (const ErrorLevel &)
 Function to specify, at runtime, that only messages with a severity level above Error should be logged. More...
 
const bool & uhal::LoggingIncludes (const ErrorLevel &)
 Function to check at runtime whether the level Error is to be included in the log output. More...
 
void uhal::setLogLevelTo (const WarningLevel &)
 Function to specify, at runtime, that only messages with a severity level above Warning should be logged. More...
 
const bool & uhal::LoggingIncludes (const WarningLevel &)
 Function to check at runtime whether the level Warning is to be included in the log output. More...
 
void uhal::setLogLevelTo (const NoticeLevel &)
 Function to specify, at runtime, that only messages with a severity level above Notice should be logged. More...
 
const bool & uhal::LoggingIncludes (const NoticeLevel &)
 Function to check at runtime whether the level Notice is to be included in the log output. More...
 
void uhal::setLogLevelTo (const InfoLevel &)
 Function to specify, at runtime, that only messages with a severity level above Info should be logged. More...
 
const bool & uhal::LoggingIncludes (const InfoLevel &)
 Function to check at runtime whether the level Info is to be included in the log output. More...
 
void uhal::setLogLevelTo (const DebugLevel &)
 Function to specify, at runtime, that only messages with a severity level above Debug should be logged. More...
 
const bool & uhal::LoggingIncludes (const DebugLevel &)
 Function to check at runtime whether the level Debug is to be included in the log output. More...