/usr/include/boost/log/sinks
NameSizeModeActions
async_frontend.hpp187710644editdlrm
attribute_mapping.hpp83970644editdlrm
auto_newline_mode.hpp12370644editdlrm
basic_sink_backend.hpp29410644editdlrm
basic_sink_frontend.hpp157440644editdlrm
block_on_overflow.hpp39890644editdlrm
bounded_fifo_queue.hpp54850644editdlrm
bounded_ordering_queue.hpp89070644editdlrm
debug_output_backend.hpp27140644editdlrm
drop_on_overflow.hpp19470644editdlrm
event_log_backend.hpp259620644editdlrm
event_log_constants.hpp24970644editdlrm
frontend_requirements.hpp37110644editdlrm
sink.hpp33510644editdlrm
sync_frontend.hpp59620644editdlrm
syslog_backend.hpp102210644editdlrm
syslog_constants.hpp42670644editdlrm
text_file_backend.hpp244410644editdlrm
text_ipc_message_queue_backend.hpp62530644editdlrm
text_multifile_backend.hpp75940644editdlrm
text_ostream_backend.hpp53330644editdlrm
unbounded_fifo_queue.hpp40210644editdlrm
unbounded_ordering_queue.hpp79280644editdlrm
unlocked_frontend.hpp51910644editdlrm
Edit: /usr/include/boost/log/sinks/event_log_constants.hpp (2497B)
/* * Copyright Andrey Semashev 2007 - 2015. * 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 event_log_constants.hpp * \author Andrey Semashev * \date 07.11.2008 * * The header contains definition of constants related to Windows NT Event Log API. * The constants can be used in other places without the event log backend. */ #ifndef BOOST_LOG_SINKS_EVENT_LOG_CONSTANTS_HPP_INCLUDED_ #define BOOST_LOG_SINKS_EVENT_LOG_CONSTANTS_HPP_INCLUDED_ #include #ifdef BOOST_HAS_PRAGMA_ONCE #pragma once #endif #ifndef BOOST_LOG_WITHOUT_EVENT_LOG #include #include namespace boost { BOOST_LOG_OPEN_NAMESPACE namespace sinks { namespace event_log { struct event_id_tag; //! A tagged integral type that represents event identifier for the Windows API typedef boost::log::aux::tagged_integer< unsigned int, event_id_tag > event_id; /*! * The function constructs event identifier from an integer */ inline event_id make_event_id(unsigned int id) { event_id iden = { id }; return iden; } struct event_category_tag; //! A tagged integral type that represents event category for the Windows API typedef boost::log::aux::tagged_integer< unsigned short, event_category_tag > event_category; /*! * The function constructs event category from an integer */ inline event_category make_event_category(unsigned short cat) { event_category category = { cat }; return category; } //! Windows event types enum event_type { success = 0, //!< Equivalent to EVENTLOG_SUCCESS info = 4, //!< Equivalent to EVENTLOG_INFORMATION_TYPE warning = 2, //!< Equivalent to EVENTLOG_WARNING_TYPE error = 1 //!< Equivalent to EVENTLOG_ERROR_TYPE }; /*! * The function constructs log record level from an integer */ BOOST_LOG_API event_type make_event_type(unsigned short lev); } // namespace event_log } // namespace sinks BOOST_LOG_CLOSE_NAMESPACE // namespace log } // namespace boost #include #endif // BOOST_LOG_WITHOUT_EVENT_LOG #endif // BOOST_LOG_SINKS_EVENT_LOG_CONSTANTS_HPP_INCLUDED_