1 syslog.module syslog_facility_list()

List all possible syslog facilities for UNIX/Linux.

Return value

array: An array of syslog facilities for UNIX/Linux.

File

core/modules/syslog/syslog.module, line 72
Redirects logging messages to syslog.

Code

function syslog_facility_list() {
  return array(
    LOG_LOCAL0 => 'LOG_LOCAL0',
    LOG_LOCAL1 => 'LOG_LOCAL1',
    LOG_LOCAL2 => 'LOG_LOCAL2',
    LOG_LOCAL3 => 'LOG_LOCAL3',
    LOG_LOCAL4 => 'LOG_LOCAL4',
    LOG_LOCAL5 => 'LOG_LOCAL5',
    LOG_LOCAL6 => 'LOG_LOCAL6',
    LOG_LOCAL7 => 'LOG_LOCAL7',
  );
}