#include <toast/log/header_policies.hpp>
As long as a type meets this interface it may be used with the toast::logger class. An HeaderPolicy must have a member function named header 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 an HeaderPolicy meets the correct interface. Should only be used in accordance with the boost concept library. |