facility.hpp 931 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Copyright Andrey Semashev 2007 - 2015.
  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)
  6. */
  7. /*!
  8. * \file keywords/facility.hpp
  9. * \author Andrey Semashev
  10. * \date 14.03.2009
  11. *
  12. * The header contains the \c facility keyword declaration.
  13. */
  14. #ifndef BOOST_LOG_KEYWORDS_FACILITY_HPP_INCLUDED_
  15. #define BOOST_LOG_KEYWORDS_FACILITY_HPP_INCLUDED_
  16. #include <boost/parameter/keyword.hpp>
  17. #include <boost/log/detail/config.hpp>
  18. #ifdef BOOST_HAS_PRAGMA_ONCE
  19. #pragma once
  20. #endif
  21. namespace boost {
  22. BOOST_LOG_OPEN_NAMESPACE
  23. namespace keywords {
  24. //! The keyword is used to pass syslog facility that emits log records
  25. BOOST_PARAMETER_KEYWORD(tag, facility)
  26. } // namespace keywords
  27. BOOST_LOG_CLOSE_NAMESPACE // namespace log
  28. } // namespace boost
  29. #endif // BOOST_LOG_KEYWORDS_FACILITY_HPP_INCLUDED_