function _filelog_get_conf in File Log 6
Same name and namespace in other branches
- 6.2 filelog.module \_filelog_get_conf()
- 7 filelog.module \_filelog_get_conf()
6 calls to _filelog_get_conf()
- filelog_cron in ./
filelog.module - Implementation of hook_cron().
- filelog_directory in ./
filelog.module - filelog_filename in ./
filelog.module - filelog_requirements in ./
filelog.install - Implementation of hook_requirements().
- filelog_watchdog in ./
filelog.module - Implementation of hook_watchdog().
File
- ./
filelog.module, line 193 - Writes logging messages into files.
Code
function _filelog_get_conf() {
global $conf;
static $f;
if (is_null($f)) {
$f = !array_key_exists('filelog', $conf) || !is_array($conf['filelog']) ? array() : $conf['filelog'];
$f += array(
'dir' => FALSE,
'log_level' => WATCHDOG_DEBUG,
'site_in_name' => FALSE,
'type_in_name' => FALSE,
'severity_in_name' => FALSE,
'grouped_severity_in_name' => FALSE,
'daily_files' => FALSE,
'delete_files' => FALSE,
'field_separator' => '|',
'field_prefix' => '',
'field_suffix' => '',
'wrap_message' => FALSE,
'log_base_url' => FALSE,
'log_username' => FALSE,
'date_format' => FALSE,
'decode_severity' => FALSE,
'skip_strip_tags' => FALSE,
);
}
return $f;
}