toast::log::to_file< HeaderPolicy, FooterPolicy, RotationPolicy > Struct Template Reference
[toast logging library]
#include <toast/log/output_policies.hpp>
List of all members.
Detailed Description
template<typename HeaderPolicy = default_header_policy, typename FooterPolicy = newline, typename RotationPolicy = default_rotation_policy>
struct toast::log::to_file< HeaderPolicy, FooterPolicy, RotationPolicy >
This OutputPolicy directs the loggers output to a file based on a user provided file name.
- Examples:
-
log/tofile.cpp.
|
Public Types |
typedef char | char_type |
Public Member Functions |
| TOAST_CLASS_REQUIRE (RotationPolicy, toast::log, RotationPolicyConcept) |
void | message (char_type const *message, log::severity severity) |
void | open (std::string const &file) |
void | open (char const *file) |
void | close () |
void | rotate () |
The documentation for this struct was generated from the following file: