diff options
Diffstat (limited to 'boost/log/keywords/max_size.hpp')
-rw-r--r-- | boost/log/keywords/max_size.hpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/boost/log/keywords/max_size.hpp b/boost/log/keywords/max_size.hpp new file mode 100644 index 0000000000..5a91797fa9 --- /dev/null +++ b/boost/log/keywords/max_size.hpp @@ -0,0 +1,40 @@ +/* + * Copyright Andrey Semashev 2007 - 2014. + * Distributed under the Boost Software License, Version 1.0. + * (See accompanying file LICENSE_1_0.txt or copy at + * http://www.boost.org/LICENSE_1_0.txt) + */ +/*! + * \file keywords/max_size.hpp + * \author Andrey Semashev + * \date 30.06.2009 + * + * The header contains the \c max_size keyword declaration. + */ + +#ifndef BOOST_LOG_KEYWORDS_MAX_SIZE_HPP_INCLUDED_ +#define BOOST_LOG_KEYWORDS_MAX_SIZE_HPP_INCLUDED_ + +#include <boost/parameter/keyword.hpp> +#include <boost/log/detail/config.hpp> + +#ifdef BOOST_HAS_PRAGMA_ONCE +#pragma once +#endif + +namespace boost { + +BOOST_LOG_OPEN_NAMESPACE + +namespace keywords { + +//! The keyword allows to specify maximum size of the log files +BOOST_PARAMETER_KEYWORD(tag, max_size) + +} // namespace keywords + +BOOST_LOG_CLOSE_NAMESPACE // namespace log + +} // namespace boost + +#endif // BOOST_LOG_KEYWORDS_MAX_SIZE_HPP_INCLUDED_ |