function monolog_stream_handler_settings in Monolog 6
Same name in this branch
- 6 monolog.api.php \monolog_stream_handler_settings()
- 6 handlers/stream.inc \monolog_stream_handler_settings()
Same name and namespace in other branches
- 7 monolog.api.php \monolog_stream_handler_settings()
- 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.'),
);
}