/usr/include/boost/log/sinks
NameSizeModeActions
async_frontend.hpp187710644editdlrm
attribute_mapping.hpp83970644editdlrm
auto_newline_mode.hpp12370644editdlrm
basic_sink_backend.hpp29410644editdlrm
basic_sink_frontend.hpp157440644editdlrm
block_on_overflow.hpp39890644editdlrm
bounded_fifo_queue.hpp54850644editdlrm
bounded_ordering_queue.hpp89070644editdlrm
debug_output_backend.hpp27140644editdlrm
drop_on_overflow.hpp19470644editdlrm
event_log_backend.hpp259620644editdlrm
event_log_constants.hpp24970644editdlrm
frontend_requirements.hpp37110644editdlrm
sink.hpp33510644editdlrm
sync_frontend.hpp59620644editdlrm
syslog_backend.hpp102210644editdlrm
syslog_constants.hpp42670644editdlrm
text_file_backend.hpp244410644editdlrm
text_ipc_message_queue_backend.hpp62530644editdlrm
text_multifile_backend.hpp75940644editdlrm
text_ostream_backend.hpp53330644editdlrm
unbounded_fifo_queue.hpp40210644editdlrm
unbounded_ordering_queue.hpp79280644editdlrm
unlocked_frontend.hpp51910644editdlrm
Edit: /usr/include/boost/log/sinks/basic_sink_backend.hpp (2941B)
/* * Copyright Andrey Semashev 2007 - 2015. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) */ /*! * \file basic_sink_backend.hpp * \author Andrey Semashev * \date 04.11.2007 * * The header contains implementation of base classes for sink backends. */ #ifndef BOOST_LOG_SINKS_BASIC_SINK_BACKEND_HPP_INCLUDED_ #define BOOST_LOG_SINKS_BASIC_SINK_BACKEND_HPP_INCLUDED_ #include #include #include #include #include #include #include #ifdef BOOST_HAS_PRAGMA_ONCE #pragma once #endif namespace boost { BOOST_LOG_OPEN_NAMESPACE namespace sinks { /*! * \brief Base class for a logging sink backend * * The \c basic_sink_backend class template defines a number of types that * all sink backends are required to define. All sink backends have to derive from the class. */ template< typename FrontendRequirementsT > struct basic_sink_backend { //! Frontend requirements tag typedef FrontendRequirementsT frontend_requirements; BOOST_DEFAULTED_FUNCTION(basic_sink_backend(), {}) BOOST_DELETED_FUNCTION(basic_sink_backend(basic_sink_backend const&)) BOOST_DELETED_FUNCTION(basic_sink_backend& operator= (basic_sink_backend const&)) }; /*! * \brief A base class for a logging sink backend with message formatting support * * The \c basic_formatted_sink_backend class template indicates to the frontend that * the backend requires logging record formatting. * * The class allows to request encoding conversion in case if the sink backend * requires the formatted string in some particular encoding (e.g. if underlying API * supports only narrow or wide characters). In order to perform conversion one * should specify the desired final character type in the \c TargetCharT template * parameter. */ template< typename CharT, typename FrontendRequirementsT = synchronized_feeding > struct basic_formatted_sink_backend : public basic_sink_backend< typename combine_requirements< FrontendRequirementsT, formatted_records >::type > { private: typedef basic_sink_backend< typename combine_requirements< FrontendRequirementsT, formatted_records >::type > base_type; public: //! Character type typedef CharT char_type; //! Formatted string type typedef std::basic_string< char_type > string_type; //! Frontend requirements typedef typename base_type::frontend_requirements frontend_requirements; }; } // namespace sinks BOOST_LOG_CLOSE_NAMESPACE // namespace log } // namespace boost #include #endif // BOOST_LOG_SINKS_BASIC_SINK_BACKEND_HPP_INCLUDED_