ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
LoggingServices.php
Go to the documentation of this file.
1<?php
2
19namespace ILIAS\DI;
20
25{
27
29 {
30 $this->container = $container;
31 }
32
37 public function root()
38 {
39 return $this->container["ilLoggerFactory"]->getRootLogger();
40 }
41
46 public function __call(string $method_name, array $args)
47 {
48 assert(count($args) === 0);
49 return $this->container['ilLoggerFactory']->getComponentLogger($method_name);
50 }
51}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
Provides fluid interface to LoggingServices.
__construct(Container $container)
root()
Get interface to the global logger.
__call(string $method_name, array $args)
Get a component logger.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Container.php:19