toast::log::OutputPolicyConcept< Policy > Struct Template Reference
[toast logging library]
#include <toast/log/output_policies.hpp>
List of all members.
Detailed Description
template<typename Policy>
struct toast::log::OutputPolicyConcept< Policy >
The
OutputPolicyConcept describes the interface of a OutputPolicy. Currently the library provides five OutputPolicies:
toast::log::to_stdout,
toast::log::to_stderr,
toast::log::to_stderr_buffered,
toast::log::to_stream, and
toast::log::to_file.
As long as a type meets this interface it may be used with the toast::logger class. An OutputPolicy must have a member function named message that must accept a char const * and an int.
|
Public Member Functions |
void | constraints () |
| Tests that an OutputPolicy meets the correct interface. Should only be used in accordance with the boost concept library.
|
The documentation for this struct was generated from the following file: