19declare(strict_types=1);
48 public function isHandling(
int $a_level):
bool
53 public function log(
string $a_message,
int $a_level =
ilLogLevel::INFO):
void
61 public function debug(
string $a_message, array $a_context = []):
void
65 public function info(
string $a_message):
void
69 public function notice(
string $a_message):
void
73 public function warning(
string $a_message):
void
77 public function error(
string $a_message):
void
81 public function critical(
string $a_message):
void
85 public function alert(
string $a_message):
void
89 public function emergency(
string $a_message):
void
94 public function getLogger(): Logger
102 public function writeLanguageLog(
string $a_topic,
string $a_lang_key):
void
106 public function logStack(?
int $a_level =
null,
string $a_message =
''):
void
110 public function writeMemoryPeakUsage(
int $a_level):
void
114 $componentRepository,
126 $this->has_cron = [];
131 $this->component =
null;
132 $this->has_cron = [];
137 if (
$name !==
"cron") {
146 $this->cronRepository->registerJob(
158 if (
$name !==
"module" &&
$name !==
"service") {
162 $this->cronRepository->unregisterJob($this->component, $this->has_cron);
endTag(string $name)
This is called when a tag ends in the context of the given component.
purge()
This methods is supposed to purge existing data in the provider of the component, so new components c...
ilCronJobRepository $cronRepository
endComponent(string $component, string $type)
This method is called when parsing of component.xml for the given component ends.
__construct(ilDBInterface $db, ilSetting $setting, ilComponentRepository $componentRepository, ilComponentFactory $componentFactory)
beginTag(string $name, array $attributes)
This is called when a tag starts in the context of the given component.
beginComponent(string $component, string $type)
This method is called when parsing of component.xml for the given component starts.
Component logger with individual log levels by component id.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An ilComponentDefinitionProcessor processes some attributes from a component.xml (i....
Readable part of repository interface to ilComponentDataDB.