RSC
0.13.4
|
#include <string>
#include <ostream>
#include <sstream>
#include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
#include "rsc/rscexports.h"
Go to the source code of this file.
Classes | |
class | rsc::logging::Logger |
Interface for logging adapters that can be used with RSC. More... | |
Namespaces | |
rsc | |
rsc::logging | |
Provides a hierarchical logging system with the possibility to install different backends, which are instances of LoggingSystem. | |
Macros | |
logging utility macros with stream semantics | |
#define | RSCTRACE(logger, msg) |
#define | RSCDEBUG(logger, msg) |
#define | RSCINFO(logger, msg) |
#define | RSCWARN(logger, msg) |
#define | RSCERROR(logger, msg) |
#define | RSCFATAL(logger, msg) |
expectation logging utility macros with stream semantics | |
The macros only log if the condition fails. However they do not let a program terminate and if the logger is not active, nothing will happen. | |
#define | RSCTRACE_EXPECT(condition, logger, msg) |
#define | RSCDEBUG_EXPECT(condition, logger, msg) |
#define | RSCINFO_EXPECT(condition, logger, msg) |
#define | RSCWARN_EXPECT(condition, logger, msg) |
#define | RSCERROR_EXPECT(condition, logger, msg) |
#define | RSCFATAL_EXPECT(condition, logger, msg) |
Typedefs | |
typedef boost::shared_ptr< Logger > | rsc::logging::LoggerPtr |
Functions | |
ostream & | rsc::logging::operator<< (ostream &stream, const Logger::Level &level) |
#define RSCDEBUG | ( | logger, | |
msg | |||
) |
Definition at line 217 of file Logger.h.
Referenced by rsc::plugins::Configurator::handleOption(), rsc::plugins::Configurator::loadPlugins(), rsc::threading::RepetitiveTask::run(), rsc::subprocess::UnixSubprocess::UnixSubprocess(), rsc::threading::RepetitiveTask::waitDone(), and rsc::subprocess::UnixSubprocess::~UnixSubprocess().
#define RSCDEBUG_EXPECT | ( | condition, | |
logger, | |||
msg | |||
) |
#define RSCERROR | ( | logger, | |
msg | |||
) |
Definition at line 238 of file Logger.h.
Referenced by rsc::subprocess::UnixSubprocess::UnixSubprocess(), and rsc::subprocess::UnixSubprocess::~UnixSubprocess().
#define RSCERROR_EXPECT | ( | condition, | |
logger, | |||
msg | |||
) |
#define RSCFATAL | ( | logger, | |
msg | |||
) |
#define RSCFATAL_EXPECT | ( | condition, | |
logger, | |||
msg | |||
) |
#define RSCINFO | ( | logger, | |
msg | |||
) |
Definition at line 224 of file Logger.h.
Referenced by rsc::plugins::Manager::addPath(), rsc::plugins::Configurator::addPathEntries(), rsc::plugins::Impl::load(), rsc::plugins::Impl::resolveSymbol(), and rsc::plugins::Impl::unload().
#define RSCINFO_EXPECT | ( | condition, | |
logger, | |||
msg | |||
) |
#define RSCTRACE | ( | logger, | |
msg | |||
) |
Definition at line 210 of file Logger.h.
Referenced by rsc::plugins::Manager::addPath(), rsc::config::ConfigFileSource::ConfigFileSource(), rsc::threading::PeriodicTask::continueExec(), rsc::config::CommandLinePropertySource::provideOptions(), rsc::config::EnvironmentVariableSource::provideOptions(), rsc::threading::RepetitiveTask::run(), rsc::threading::RepetitiveTask::timerAfterCycle(), and rsc::threading::PeriodicTask::~PeriodicTask().
#define RSCTRACE_EXPECT | ( | condition, | |
logger, | |||
msg | |||
) |
#define RSCWARN | ( | logger, | |
msg | |||
) |
Definition at line 231 of file Logger.h.
Referenced by rsc::config::configure(), rsc::threading::PeriodicTask::continueExec(), and rsc::config::CommandLinePropertySource::provideOptions().
#define RSCWARN_EXPECT | ( | condition, | |
logger, | |||
msg | |||
) |