toast/log/header_policies.hpp File Reference


Detailed Description

This file describes the toast::log::HeaderPolicyConcept and contains some possible implementations.

Currently the library provides three HeaderPolicies: toast::log::no_header, toast::log::microseconds, and toast::log::severity.

#include <boost/date_time/posix_time/posix_time.hpp>
#include <toast/log/severity.hpp>
#include <toast/concept_check.hpp>

Go to the source code of this file.

Namespaces

namespace  toast
namespace  toast::log

Classes

struct  toast::log::HeaderPolicyConcept< Policy >
 The HeaderPolicyConcept describes the interface of a HeaderPolicy. Currently the library provides three HeaderPolicies: toast::log::no_header, toast::log::microseconds, and toast::log::severity. More...
struct  toast::log::no_header
 This HeaderPolicy tells the logger not to print a header. More...
struct  toast::log::microseconds
 This HeaderPolicy tells the logger to print a microsecond timestamp before each message. More...
struct  toast::log::severity_header
 This HeaderPolicy tells the logger to print the severity of the event being logged before each message. More...
struct  toast::log::header_policy_aggregator< FirstHeaderPolicy, SecondHeaderPolicy >


SourceForge.net Logo