Definition at line 39 of file debug_manager.inc.
◆ DebugManager()
DebugManager::DebugManager |
( |
| ) |
|
◆ setDefaults()
static DebugManager::setDefaults |
( |
| ) |
|
|
static |
Definition at line 46 of file debug_manager.inc.
48 trace(
"DebugManager::setDefaults", 3);
52 preg_match_all(
"/([\\w\\d_]+)\.?([^}]*)/",
$config[
"http_host"], $matches, PREG_SET_ORDER);
53 if(count($matches) > 0)
55 $matches = $matches[0];
56 if(count($matches) > 1)
60 $tracePath =
"/share/".
$path .
"_trace.log";
63 Settings::setDefaultValue(
"debug",
"trace_path", $tracePath,
"String",
"File path to trace output log",
"Trace File",
null, 1);
64 Settings::setDefaultValue(
"debug",
"trace_level", 3,
"Number",
"Trace Level for Fakoli core code. Lowest to output only the most serious errors; highest for all",
"Trace Levels",
"1\n2\n3\n4\n5", 1);
65 Settings::setDefaultValue(
"debug",
"trace_detail",
"TraceDetailHigh",
"String",
"The level of detail to be output",
"Trace File",
"TraceDetailFull\nTraceDetailHigh\nTraceDetailMedium\nTraceDetailNormal", 2);
66 Settings::setDefaultValue(
"debug",
"application_trace_level", 3,
"Number",
"Trace Level for application code (component pages, handlers, modules).Lowest to output only the most serious errors; highest for all",
"Trace Levels",
"1\n2\n3\n4\n5", 2);
67 Settings::setDefaultValue(
"debug",
"scheduled_task_trace_level", 3,
"Number",
"Trace Level for scheduled task workers",
"Trace Levels",
"1\n2\n3\n4\n5", 3 );
68 Settings::setDefaultValue(
"debug",
"enable_trace_file_downloads",
false, Boolean,
"Enables remote access for trace files. Leave this disabled for production sites, and only enable if you need to gain access to the trace log but do not have access to SSH",
"Trace File",
null, 3);
static setDefaultValue($component, $name, $value, $field_type="String", $annotation="", $category="", $options="", $weight=0)
Sets the default value of the given component setting.
The documentation for this class was generated from the following file: