rtop
|
#include <string>
#include <map>
#include <fstream>
#include <thread>
#include <mutex>
#include <boost/log/core.hpp>
#include <boost/log/trivial.hpp>
#include <boost/log/expressions.hpp>
#include <boost/log/sinks/text_file_backend.hpp>
#include <boost/log/utility/setup/file.hpp>
#include <boost/log/utility/setup/common_attributes.hpp>
#include <boost/log/sources/severity_logger.hpp>
#include <boost/log/sources/record_ostream.hpp>
#include <boost/log/attributes/attribute.hpp>
#include <boost/log/attributes/attribute_cast.hpp>
#include <boost/log/attributes/attribute_value.hpp>
#include <boost/lambda/lambda.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/log/common.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <boost/log/support/date_time.hpp>
Go to the source code of this file.
Classes | |
class | logSpacer |
enables indentation of logs for easy viewing More... | |
Functions | |
void | init_logging (std::string sev_level) |
sets up logging using Boost.Log library More... | |
std::ostream & | operator<< (std::ostream &ofs, logSpacer &lgSpacer) |
pushes white-space string corresponding to invoking thread to std::ostream More... | |
Variables | |
src::severity_logger< severity_level > | lg |
logSpacer | log_spacer |
void init_logging | ( | std::string | sev_level | ) |
sets up logging using Boost.Log library
Definition at line 42 of file rtop_logger.h.
std::ostream& operator<< | ( | std::ostream & | ofs, |
logSpacer & | lgSpacer | ||
) |
pushes white-space string corresponding to invoking thread to std::ostream
function body is under mutex control
Definition at line 179 of file rtop_logger.h.
src::severity_logger< severity_level > lg |
Definition at line 108 of file rtop_logger.h.
logSpacer log_spacer |
Definition at line 186 of file rtop_logger.h.