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