You are here

function syslog_facility_list in Drupal 6

Same name and namespace in other branches
  1. 8 core/modules/syslog/syslog.module \syslog_facility_list()
  2. 7 modules/syslog/syslog.module \syslog_facility_list()
  3. 9 core/modules/syslog/syslog.module \syslog_facility_list()
1 call to syslog_facility_list()
syslog_admin_settings in modules/syslog/syslog.module

File

modules/syslog/syslog.module, line 58

Code

function syslog_facility_list() {
  $facility_list = array(
    LOG_USER => t('LOG_USER - User level messages. Use this for Windows.'),
  );
  if (defined('LOG_LOCAL0')) {
    $facility_list += array(
      LOG_LOCAL0 => t('LOG_LOCAL0 - Local 0'),
      LOG_LOCAL1 => t('LOG_LOCAL1 - Local 1'),
      LOG_LOCAL2 => t('LOG_LOCAL2 - Local 2'),
      LOG_LOCAL3 => t('LOG_LOCAL3 - Local 3'),
      LOG_LOCAL4 => t('LOG_LOCAL4 - Local 4'),
      LOG_LOCAL5 => t('LOG_LOCAL5 - Local 5'),
      LOG_LOCAL6 => t('LOG_LOCAL6 - Local 6'),
      LOG_LOCAL7 => t('LOG_LOCAL7 - Local 7'),
    );
  }
  return $facility_list;
}