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

Namespaces

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

Enumerations

enum  boost::sinks::syslog::level {
  boost::sinks::syslog::emergency = 0,
  boost::sinks::syslog::alert = 1,
  boost::sinks::syslog::critical = 2,
  boost::sinks::syslog::error = 3,
  boost::sinks::syslog::warning = 4,
  boost::sinks::syslog::notice = 5,
  boost::sinks::syslog::info = 6,
  boost::sinks::syslog::debug = 7
}
 Syslog record levels. More...
 
enum  boost::sinks::syslog::facility {
  boost::sinks::syslog::kernel = 0 * 8,
  boost::sinks::syslog::user = 1 * 8,
  boost::sinks::syslog::mail = 2 * 8,
  boost::sinks::syslog::daemon = 3 * 8,
  boost::sinks::syslog::security0 = 4 * 8,
  boost::sinks::syslog::syslogd = 5 * 8,
  boost::sinks::syslog::printer = 6 * 8,
  boost::sinks::syslog::news = 7 * 8,
  boost::sinks::syslog::uucp = 8 * 8,
  boost::sinks::syslog::clock0 = 9 * 8,
  boost::sinks::syslog::security1 = 10 * 8,
  boost::sinks::syslog::ftp = 11 * 8,
  boost::sinks::syslog::ntp = 12 * 8,
  boost::sinks::syslog::log_audit = 13 * 8,
  boost::sinks::syslog::log_alert = 14 * 8,
  boost::sinks::syslog::clock1 = 15 * 8,
  boost::sinks::syslog::local0 = 16 * 8,
  boost::sinks::syslog::local1 = 17 * 8,
  boost::sinks::syslog::local2 = 18 * 8,
  boost::sinks::syslog::local3 = 19 * 8,
  boost::sinks::syslog::local4 = 20 * 8,
  boost::sinks::syslog::local5 = 21 * 8,
  boost::sinks::syslog::local6 = 22 * 8,
  boost::sinks::syslog::local7 = 23 * 8
}
 Syslog facility codes. More...
 

Functions

BOOST_LOG_API level boost::sinks::syslog::make_level (int lev)
 The function constructs log record level from an integer. More...
 
BOOST_LOG_API facility boost::sinks::syslog::make_facility (int fac)
 The function constructs log source facility from an integer. More...
 

Detailed Description

Author
Andrey Semashev
Date
08.01.2008

The header contains definition of constants related to Syslog API. The constants can be used in other places without the Syslog backend.