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

Classes

class  custom_severity_mapping
 Customizable severity level mapping. More...
 
class  direct_severity_mapping
 Straightforward severity level mapping. More...
 

Enumerations

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

Functions

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

Enumeration Type Documentation

Syslog facility codes.

Enumerator
kernel 

Kernel messages.

user 

User-level messages.

Equivalent to LOG_USER in syslog API.

mail 

Mail system messages.

Equivalent to LOG_MAIL in syslog API.

daemon 

System daemons.

Equivalent to LOG_DAEMON in syslog API.

security0 

Security/authorization messages.

syslogd 

Messages from the syslogd daemon.

Equivalent to LOG_SYSLOG in syslog API.

printer 

Line printer subsystem.

Equivalent to LOG_LPR in syslog API.

news 

Network news subsystem.

Equivalent to LOG_NEWS in syslog API.

uucp 

Messages from UUCP subsystem.

Equivalent to LOG_UUCP in syslog API.

clock0 

Messages from the clock daemon.

security1 

Security/authorization messages.

ftp 

Messages from FTP daemon.

ntp 

Messages from NTP daemon.

log_audit 

Security/authorization messages.

log_alert 

Security/authorization messages.

clock1 

Messages from the clock daemon.

local0 

For local use.

Equivalent to LOG_LOCAL0 in syslog API

local1 

For local use.

Equivalent to LOG_LOCAL1 in syslog API

local2 

For local use.

Equivalent to LOG_LOCAL2 in syslog API

local3 

For local use.

Equivalent to LOG_LOCAL3 in syslog API

local4 

For local use.

Equivalent to LOG_LOCAL4 in syslog API

local5 

For local use.

Equivalent to LOG_LOCAL5 in syslog API

local6 

For local use.

Equivalent to LOG_LOCAL6 in syslog API

local7 

For local use.

Equivalent to LOG_LOCAL7 in syslog API

The enumeration defined the possible implementation types for the syslog backend.

Enumerator
udp_socket_based 

Use UDP sockets, according to RFC3164.

Syslog record levels.

Enumerator
emergency 

Equivalent to LOG_EMERG in syslog API.

alert 

Equivalent to LOG_ALERT in syslog API.

critical 

Equivalent to LOG_CRIT in syslog API.

error 

Equivalent to LOG_ERROR in syslog API.

warning 

Equivalent to LOG_WARNING in syslog API.

notice 

Equivalent to LOG_NOTICE in syslog API.

info 

Equivalent to LOG_INFO in syslog API.

debug 

Equivalent to LOG_DEBUG in syslog API.

Function Documentation

BOOST_LOG_API facility boost::sinks::syslog::make_facility ( int  fac)

The function constructs log source facility from an integer.

BOOST_LOG_API level boost::sinks::syslog::make_level ( int  lev)

The function constructs log record level from an integer.