You are here

function monolog_stream_handler_settings in Monolog 6

Same name in this branch
  1. 6 monolog.api.php \monolog_stream_handler_settings()
  2. 6 handlers/stream.inc \monolog_stream_handler_settings()
Same name and namespace in other branches
  1. 7 monolog.api.php \monolog_stream_handler_settings()
  2. 7 handlers/stream.inc \monolog_stream_handler_settings()

Monolog settings form; Settings for the StreamHandler handler.

File

handlers/stream.inc, line 24
Handler include for StreamHandler include.

Code

function monolog_stream_handler_settings(&$form, &$form_state, $profile, array $handler) {
  $form['filepath'] = array(
    '#title' => 'Log file path',
    '#type' => 'textfield',
    '#default_value' => $handler['filepath'],
    '#description' => t('The path or URI that the log file will be written to.'),
  );
}