You are here

function monolog_syslog_handler_settings in Monolog 6

Same name and namespace in other branches
  1. 7 handlers/syslog.inc \monolog_syslog_handler_settings()

Monolog settings form; Settings for the SyslogHandler handler.

File

handlers/syslog.inc, line 22
Handler include for SyslogHandler.

Code

function monolog_syslog_handler_settings(&$form, &$form_state, $profile, array $handler) {
  $form['ident'] = array(
    '#title' => t('Identity string'),
    '#type' => 'textfield',
    '#default_value' => $handler['ident'],
    '#description' => t('The string ident is added to each message.'),
  );
}