#include <toast/log/footer_policies.hpp>
As long as a type meets this interface it may be used with the toast::logger class. Currently the library provides two FooterPolicies: toast::log::no_footer and toast::log::newline.
A FooterPolicy must have a member function named footer that takes an int (or some type that can be created from an int), and return something that can be converted to a std::string.
Public Member Functions | |
void | constraints () |
Tests that a FooterPolicy meets the correct interface. Should only be used in accordance with the boost concept library. |