2 * Copyright Andrey Semashev 2021.
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 is_debugger_present.cpp
9 * \author Andrey Semashev
12 * \brief This header is the Boost.Log library implementation, see the library documentation
13 * at http://www.boost.org/doc/libs/release/libs/log/doc/html/index.html.
16 #include <boost/log/detail/config.hpp>
17 #include <boost/log/expressions/predicates/is_debugger_present.hpp>
19 #include <boost/log/detail/header.hpp>
23 BOOST_LOG_OPEN_NAMESPACE
25 namespace expressions
{
29 BOOST_LOG_API
is_debugger_present::result_type
is_debugger_present::operator() () const
31 return IsDebuggerPresent() != 0;
36 } // namespace expressions
38 BOOST_LOG_CLOSE_NAMESPACE
// namespace log
42 #include <boost/log/detail/footer.hpp>