2
* Copyright Andrey Semashev 2007 - 2013.
3
* Distributed under the Boost Software License, Version 1.0.
4
* (See accompanying file LICENSE_1_0.txt or copy at
5
* http://www.boost.org/LICENSE_1_0.txt)
8
* \file keywords/time_based_rotation.hpp
9
* \author Andrey Semashev
12
* The header contains the \c time_based_rotation keyword declaration.
15
#ifndef BOOST_LOG_KEYWORDS_TIME_BASED_ROTATION_HPP_INCLUDED_
16
#define BOOST_LOG_KEYWORDS_TIME_BASED_ROTATION_HPP_INCLUDED_
18
#include <boost/parameter/keyword.hpp>
19
#include <boost/log/detail/config.hpp>
21
#ifdef BOOST_LOG_HAS_PRAGMA_ONCE
27
BOOST_LOG_OPEN_NAMESPACE
31
//! The keyword allows to pass time-based file rotation predicate to the file sink backend
32
BOOST_PARAMETER_KEYWORD(tag, time_based_rotation)
34
} // namespace keywords
36
BOOST_LOG_CLOSE_NAMESPACE // namespace log
40
#endif // BOOST_LOG_KEYWORDS_TIME_BASED_ROTATION_HPP_INCLUDED_