Skip to content

Commit

Permalink
Component: adjust global for logger regarding ilComponentUpdatePlugin…
Browse files Browse the repository at this point in the history
…Objective setup. (#37960)
  • Loading branch information
lukastocker committed Sep 21, 2023
1 parent 95454ef commit 887f156
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public function writeMemoryPeakUsage(int $a_level): void
{
}
};
$GLOBALS["DIC"]["ilLog"] = new class () extends ilLog {
$GLOBALS["DIC"]["ilLog"] = new class () extends ilLogger {
public function __construct()
{
}
Expand Down Expand Up @@ -219,11 +219,11 @@ public function __construct()
}
public static function getRootLogger(): ilLogger
{
return $GLOBALS["DIC"]["ilLogger"];
return $GLOBALS["DIC"]["ilLog"];
}
public static function getLogger(string $a_component_id): ilLogger
{
return $GLOBALS["DIC"]["ilLogger"];
return $GLOBALS["DIC"]["ilLog"];
}
};
$GLOBALS["ilLog"] = $GLOBALS["DIC"]["ilLog"];
Expand Down

0 comments on commit 887f156

Please sign in to comment.