#include <utility>
#include <boost/move/core.hpp>
#include <boost/move/utility.hpp>
#include <boost/utility/addressof.hpp>
#include <boost/log/detail/config.hpp>
#include <boost/log/core/core.hpp>
#include <boost/log/sources/basic_logger.hpp>
#include <boost/log/attributes/attribute.hpp>
#include <boost/log/attributes/attribute_set.hpp>
#include <boost/log/attributes/attribute_name.hpp>
#include <boost/log/attributes/constant.hpp>
#include <boost/log/utility/unused_variable.hpp>
#include <boost/log/utility/unique_identifier_name.hpp>
#include <boost/log/detail/header.hpp>
#include <boost/log/detail/footer.hpp>
Classes | |
class | boost::aux::attribute_scope_guard |
A base class for all scoped attribute guards. More... | |
class | boost::aux::scoped_logger_attribute< LoggerT > |
A scoped logger attribute guard. More... | |
class | boost::aux::scoped_thread_attribute |
A scoped thread-specific attribute guard. More... | |
Namespaces | |
boost | |
Duration formatting facet for input. | |
boost::aux | |
Macros | |
#define | BOOST_LOG_SCOPED_LOGGER_ATTR_INTERNAL(logger, attr_name, attr, sentry_var_name) |
#define | BOOST_LOG_SCOPED_LOGGER_ATTR(logger, attr_name, attr) |
The macro sets a scoped logger-wide attribute in a more compact way. More... | |
#define | BOOST_LOG_SCOPED_LOGGER_TAG(logger, attr_name, attr_value) BOOST_LOG_SCOPED_LOGGER_ATTR(logger, attr_name, ::boost::log::attributes::make_constant(attr_value)) |
The macro sets a scoped logger-wide tag in a more compact way. More... | |
#define | BOOST_LOG_SCOPED_THREAD_ATTR_INTERNAL(attr_name, attr, sentry_var_name) |
#define | BOOST_LOG_SCOPED_THREAD_ATTR(attr_name, attr) |
The macro sets a scoped thread-wide attribute in a more compact way. More... | |
#define | BOOST_LOG_SCOPED_THREAD_TAG(attr_name, attr_value) BOOST_LOG_SCOPED_THREAD_ATTR(attr_name, ::boost::log::attributes::make_constant(attr_value)) |
The macro sets a scoped thread-wide tag in a more compact way. More... | |
Typedefs | |
typedef aux::attribute_scope_guard const & | boost::scoped_attribute |
Scoped attribute guard type. More... | |
Functions | |
template<typename LoggerT > | |
BOOST_FORCEINLINE aux::scoped_logger_attribute < LoggerT > | boost::add_scoped_logger_attribute (LoggerT &l, attribute_name const &name, attribute const &attr) |
Registers an attribute in the logger. More... | |
BOOST_FORCEINLINE aux::scoped_thread_attribute | boost::add_scoped_thread_attribute (attribute_name const &name, attribute const &attr) |
Registers a thread-specific attribute. More... | |
The header contains definition of facilities to define scoped attributes.
#define BOOST_LOG_SCOPED_LOGGER_ATTR | ( | logger, | |
attr_name, | |||
attr | |||
) |
The macro sets a scoped logger-wide attribute in a more compact way.
#define BOOST_LOG_SCOPED_LOGGER_ATTR_INTERNAL | ( | logger, | |
attr_name, | |||
attr, | |||
sentry_var_name | |||
) |
#define BOOST_LOG_SCOPED_LOGGER_TAG | ( | logger, | |
attr_name, | |||
attr_value | |||
) | BOOST_LOG_SCOPED_LOGGER_ATTR(logger, attr_name, ::boost::log::attributes::make_constant(attr_value)) |
The macro sets a scoped logger-wide tag in a more compact way.
#define BOOST_LOG_SCOPED_THREAD_ATTR | ( | attr_name, | |
attr | |||
) |
The macro sets a scoped thread-wide attribute in a more compact way.
#define BOOST_LOG_SCOPED_THREAD_ATTR_INTERNAL | ( | attr_name, | |
attr, | |||
sentry_var_name | |||
) |
#define BOOST_LOG_SCOPED_THREAD_TAG | ( | attr_name, | |
attr_value | |||
) | BOOST_LOG_SCOPED_THREAD_ATTR(attr_name, ::boost::log::attributes::make_constant(attr_value)) |
The macro sets a scoped thread-wide tag in a more compact way.