toast/log/rotation_policies.hpp File Reference


Detailed Description

This file describes the toast::log::RotationCheckPolicyConcept, the toast::log::RotationImplPolicyConcept, and the aggregating concept of these, the toast::log::RotationPolicyConcept, and contains some possible implementations.

#include <iostream>
#include <boost/lexical_cast.hpp>
#include <boost/filesystem.hpp>
#include <toast/concept_check.hpp>
#include <toast/contracts.hpp>
#include <cstdio>

Go to the source code of this file.

Namespaces

namespace  toast
namespace  toast::log
namespace  toast::log::size

Classes

struct  toast::log::RotationCheckPolicyConcept< Policy >
class  toast::log::RotationCheckPolicyConcept< Policy >::Policy_Sub
struct  toast::log::never_rotate
struct  toast::log::message_limit
struct  toast::log::max_file_size
struct  toast::log::RotationImplPolicyConcept< Policy >
class  toast::log::RotationImplPolicyConcept< Policy >::Policy_Sub
struct  toast::log::roll_rotation
struct  toast::log::RotationPolicyConcept< Policy >
class  toast::log::RotationPolicyConcept< Policy >::Policy_Sub
struct  toast::log::rotation_policy< RotationCheckPolicy, RotationImplPolicy >

Variables

const unsigned int toast::log::size::KB = 1024
const unsigned int toast::log::size::MB = KB * KB
const unsigned int toast::log::size::GB = KB * KB * KB
const unsigned int toast::log::size::TB = KB * KB * KB * KB


SourceForge.net Logo