Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::sinks::basic_formatted_sink_backend< CharT, FrontendRequirementsT > Struct Template Reference

A base class for a logging sink backend with message formatting support. More...

#include <basic_sink_backend.hpp>

Inheritance diagram for boost::sinks::basic_formatted_sink_backend< CharT, FrontendRequirementsT >:
Collaboration diagram for boost::sinks::basic_formatted_sink_backend< CharT, FrontendRequirementsT >:

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...
 

Detailed Description

template<typename CharT, typename FrontendRequirementsT = synchronized_feeding>
struct boost::sinks::basic_formatted_sink_backend< CharT, FrontendRequirementsT >

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.

Member Typedef Documentation

template<typename CharT, typename FrontendRequirementsT = synchronized_feeding>
typedef CharT boost::sinks::basic_formatted_sink_backend< CharT, FrontendRequirementsT >::char_type

Character type.

template<typename CharT, typename FrontendRequirementsT = synchronized_feeding>
typedef base_type::frontend_requirements boost::sinks::basic_formatted_sink_backend< CharT, FrontendRequirementsT >::frontend_requirements

Frontend requirements.

template<typename CharT, typename FrontendRequirementsT = synchronized_feeding>
typedef std::basic_string< char_type > boost::sinks::basic_formatted_sink_backend< CharT, FrontendRequirementsT >::string_type

Formatted string type.


The documentation for this struct was generated from the following file: