|
||||
File indexing completed on 2025-01-18 09:39:24
0001 /* 0002 * Copyright Andrey Semashev 2019. 0003 * Distributed under the Boost Software License, Version 1.0. 0004 * (See accompanying file LICENSE_1_0.txt or copy at 0005 * https://www.boost.org/LICENSE_1_0.txt) 0006 */ 0007 /*! 0008 * \file sinks/auto_newline_mode.hpp 0009 * \author Andrey Semashev 0010 * \date 23.06.2019 0011 * 0012 * The header contains definition of auto-newline modes. 0013 */ 0014 0015 #ifndef BOOST_LOG_SINKS_AUTO_NEWLINE_MODE_HPP_INCLUDED_HPP_ 0016 #define BOOST_LOG_SINKS_AUTO_NEWLINE_MODE_HPP_INCLUDED_HPP_ 0017 0018 #include <boost/log/detail/config.hpp> 0019 #include <boost/log/detail/header.hpp> 0020 0021 #ifdef BOOST_HAS_PRAGMA_ONCE 0022 #pragma once 0023 #endif 0024 0025 namespace boost { 0026 0027 BOOST_LOG_OPEN_NAMESPACE 0028 0029 namespace sinks { 0030 0031 //! The enum lists automatic trailing newline modes 0032 enum auto_newline_mode 0033 { 0034 disabled_auto_newline, //!< Do not insert automatic trailing newline characters 0035 always_insert, //!< Always insert automatic trailing newline characters 0036 insert_if_missing //!< Insert automatic trailing newline characters, if not present already 0037 }; 0038 0039 } // namespace sinks 0040 0041 BOOST_LOG_CLOSE_NAMESPACE // namespace log 0042 0043 } // namespace boost 0044 0045 #include <boost/log/detail/footer.hpp> 0046 0047 #endif // BOOST_LOG_SINKS_AUTO_NEWLINE_MODE_HPP_INCLUDED_HPP_
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |