| 1 | /* |
|---|---|
| 2 | * Copyright Andrey Semashev 2019. |
| 3 | * Distributed under the Boost Software License, Version 1.0. |
| 4 | * (See accompanying file LICENSE_1_0.txt or copy at |
| 5 | * https://www.boost.org/LICENSE_1_0.txt) |
| 6 | */ |
| 7 | /*! |
| 8 | * \file keywords/auto_newline_mode.hpp |
| 9 | * \author Andrey Semashev |
| 10 | * \date 23.06.2019 |
| 11 | * |
| 12 | * The header contains the \c auto_newline_mode keyword declaration. |
| 13 | */ |
| 14 | |
| 15 | #ifndef BOOST_LOG_KEYWORDS_AUTO_NEWLINE_MODE_HPP_INCLUDED_ |
| 16 | #define BOOST_LOG_KEYWORDS_AUTO_NEWLINE_MODE_HPP_INCLUDED_ |
| 17 | |
| 18 | #include <boost/parameter/keyword.hpp> |
| 19 | #include <boost/log/detail/config.hpp> |
| 20 | |
| 21 | #ifdef BOOST_HAS_PRAGMA_ONCE |
| 22 | #pragma once |
| 23 | #endif |
| 24 | |
| 25 | namespace boost { |
| 26 | |
| 27 | BOOST_LOG_OPEN_NAMESPACE |
| 28 | |
| 29 | namespace keywords { |
| 30 | |
| 31 | //! The keyword for passing automatic trailing newline insertion mode to a sink backend initialization |
| 32 | BOOST_PARAMETER_KEYWORD(tag, auto_newline_mode) |
| 33 | |
| 34 | } // namespace keywords |
| 35 | |
| 36 | BOOST_LOG_CLOSE_NAMESPACE // namespace log |
| 37 | |
| 38 | } // namespace boost |
| 39 | |
| 40 | #endif // BOOST_LOG_KEYWORDS_AUTO_NEWLINE_MODE_HPP_INCLUDED_ |
| 41 |
