◆ collectFrom()
ilLoggingMetricsCollectedObjective::collectFrom |
( |
Environment |
$environment, |
|
|
Storage |
$storage |
|
) |
| |
|
protected |
Definition at line 34 of file class.ilLoggingMetricsCollectedObjective.php.
34 : void
35 {
38 return;
39 }
40
42 "enable",
43 (
bool)
$ini->readVariable(
"log",
"enabled"),
44 "Is the logging enabled on the installation?"
45 );
47 "path_to_logfile",
48 $ini->readVariable(
"log",
"path") .
"/" .
$ini->readVariable(
"log",
"file"),
49 "The path to the logfile."
50 );
52 "errorlog_dir",
53 $ini->readVariable(
"log",
"error_path"),
54 "The path to the directory where error protocols are stored."
55 );
56 }
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
storeConfigText(string $key, string $value, ?string $description=null)
storeConfigBool(string $key, bool $value, ?string $description=null)
References $ini, ILIAS\Setup\Metrics\CollectedObjective\$storage, ILIAS\Setup\Environment\getResource(), ILIAS\Setup\Metrics\Storage\storeConfigBool(), and ILIAS\Setup\Metrics\Storage\storeConfigText().
◆ getTentativePreconditions()
ilLoggingMetricsCollectedObjective::getTentativePreconditions |
( |
Environment |
$environment | ) |
|
|
protected |
The documentation for this class was generated from the following file: