toast::log::to_stream< HeaderPolicy, FooterPolicy, StreamPolicy > Struct Template Reference
[toast logging library]

#include <toast/log/output_policies.hpp>

Inheritance diagram for toast::log::to_stream< HeaderPolicy, FooterPolicy, StreamPolicy >:

toast::log::to_stderr< HeaderPolicy, FooterPolicy > toast::log::to_stderr_buffered< HeaderPolicy, FooterPolicy > toast::log::to_stdout< HeaderPolicy, FooterPolicy >

List of all members.


Detailed Description

template<typename HeaderPolicy = default_header_policy, typename FooterPolicy = newline, typename StreamPolicy = any_stream>
struct toast::log::to_stream< HeaderPolicy, FooterPolicy, StreamPolicy >

This OutputPolicy directs the loggers output to a user provided stream.

Public Types

typedef StreamPolicy::char_type char_type

Public Member Functions

 TOAST_CLASS_REQUIRE (HeaderPolicy, toast::log, HeaderPolicyConcept)
 TOAST_CLASS_REQUIRE (FooterPolicy, toast::log, FooterPolicyConcept)
 TOAST_CLASS_REQUIRE (StreamPolicy, toast::log, StreamPolicyConcept)
void message (char_type const *message, log::severity severity)

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

SourceForge.net Logo