A base class for a logging sink backend with message formatting support. More...
#include <basic_sink_backend.hpp>
Public Types | |
typedef CharT | char_type |
Character type. More... | |
typedef std::basic_string < char_type > | string_type |
Formatted string type. More... | |
typedef base_type::frontend_requirements | frontend_requirements |
Frontend requirements. More... | |
A base class for a logging sink backend with message formatting support.
The 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 TargetCharT
template parameter.
typedef CharT boost::sinks::basic_formatted_sink_backend< CharT, FrontendRequirementsT >::char_type |
Character type.
typedef base_type::frontend_requirements boost::sinks::basic_formatted_sink_backend< CharT, FrontendRequirementsT >::frontend_requirements |
Frontend requirements.
typedef std::basic_string< char_type > boost::sinks::basic_formatted_sink_backend< CharT, FrontendRequirementsT >::string_type |
Formatted string type.