![]() |
Andrey Semashev
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.
namespace boost { namespace log { namespace sinks { namespace event_log { typedef unspecified event_id_t; // A tagged integral type that represents event identifier for the Windows API. typedef unspecified event_category_t; // A tagged integral type that represents event category for the Windows API. typedef unspecified event_type_t; // A tagged integral type that represents log record level for the Windows API. const event_type_t success; // Equivalent to EVENTLOG_SUCCESS. const event_type_t info; // Equivalent to EVENTLOG_INFORMATION_TYPE. const event_type_t warning; // Equivalent to EVENTLOG_WARNING_TYPE. const event_type_t error; // Equivalent to EVENTLOG_ERROR_TYPE. event_id_t make_event_id(unsigned int); event_category_t make_event_category(unsigned short); event_type_t make_event_type(unsigned short); } } } }