toast/log/verbosity_policies.hpp File Reference


Detailed Description

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

Currently the library provides three verbosity policies: toast::log::always_output, toast::log::never_output, and toast::log::check_verbosity.

#include <toast/log/severity.hpp>

Go to the source code of this file.

Namespaces

namespace  toast
namespace  toast::log

Classes

struct  toast::log::VerbosityPolicyConcept< Policy >
 The VerbosityPolicyConcept describes the interface of a VerbosityPolicy. Currently the library provides three VerbosityPolicies: toast::log::always_output, toast::log::never_output, and toast::log::check_verbosity. More...
struct  toast::log::always_output
 This VerbosityPolicy causes the logger to output log messages regardless of their severity. More...
struct  toast::log::never_output
 This VerbosityPolicy causes the logger to suppress log messages regardless of their severity. This also allows the compiler to generate very little if any code with minimal optimizations turned on. More...
struct  toast::log::check_verbosity
 This VerbosityPolicy causes the logger to output log messages based on their severity compared to the level of verbosity set by the user. More...


SourceForge.net Logo