Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
event_log_constants.hpp File Reference
#include <boost/log/detail/config.hpp>
#include <boost/log/detail/tagged_integer.hpp>
#include <boost/log/detail/header.hpp>
#include <boost/log/detail/footer.hpp>
Include dependency graph for event_log_constants.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::sinks
 
 boost::sinks::event_log
 

Typedefs

typedef
boost::log::aux::tagged_integer
< unsigned int, event_id_tag > 
boost::sinks::event_log::event_id
 A tagged integral type that represents event identifier for the Windows API. More...
 
typedef
boost::log::aux::tagged_integer
< unsigned short,
event_category_tag > 
boost::sinks::event_log::event_category
 A tagged integral type that represents event category for the Windows API. More...
 

Enumerations

enum  boost::sinks::event_log::event_type {
  boost::sinks::event_log::success = 0,
  boost::sinks::event_log::info = 4,
  boost::sinks::event_log::warning = 2,
  boost::sinks::event_log::error = 1
}
 Windows event types. More...
 

Functions

event_id boost::sinks::event_log::make_event_id (unsigned int id)
 The function constructs event identifier from an integer. More...
 
event_category boost::sinks::event_log::make_event_category (unsigned short cat)
 The function constructs event category from an integer. More...
 
BOOST_LOG_API event_type boost::sinks::event_log::make_event_type (unsigned short lev)
 The function constructs log record level from an integer. More...
 

Detailed Description

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.