Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::sinks::event_log Namespace Reference

Classes

class  basic_event_composer
 An event composer. More...
 
class  custom_event_category_mapping
 Customizable event category mapping. More...
 
class  custom_event_id_mapping
 Customizable event ID mapping. More...
 
class  custom_event_type_mapping
 Customizable event type mapping. More...
 
class  direct_event_category_mapping
 Straightforward event category mapping. More...
 
class  direct_event_id_mapping
 Straightforward event ID mapping. More...
 
class  direct_event_type_mapping
 Straightforward event type mapping. More...
 

Typedefs

typedef
boost::log::aux::tagged_integer
< unsigned int, event_id_tag > 
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 > 
event_category
 A tagged integral type that represents event category for the Windows API. More...
 

Enumerations

enum  registration_mode {
  never,
  on_demand,
  forced
}
 Event log source registration modes. More...
 
enum  event_type {
  success = 0,
  info = 4,
  warning = 2,
  error = 1
}
 Windows event types. More...
 

Functions

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

Typedef Documentation

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.

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.

Enumeration Type Documentation

Windows event types.

Enumerator
success 

Equivalent to EVENTLOG_SUCCESS.

info 

Equivalent to EVENTLOG_INFORMATION_TYPE.

warning 

Equivalent to EVENTLOG_WARNING_TYPE.

error 

Equivalent to EVENTLOG_ERROR_TYPE.

Event log source registration modes.

Enumerator
never 

Never register event source, even if it's not registered.

on_demand 

Register if the source is not registered yet.

forced 

Register always, event if the source is already registered.

Function Documentation

event_category boost::sinks::event_log::make_event_category ( unsigned short  cat)
inline

The function constructs event category from an integer.

event_id boost::sinks::event_log::make_event_id ( unsigned int  id)
inline

The function constructs event identifier from an integer.

BOOST_LOG_API event_type boost::sinks::event_log::make_event_type ( unsigned short  lev)

The function constructs log record level from an integer.