ILIAS  release_8 Revision v8.24
ilSystemStyleLoggerMock Class Reference
+ Inheritance diagram for ilSystemStyleLoggerMock:
+ Collaboration diagram for ilSystemStyleLoggerMock:

Public Member Functions

 __construct (\ILIAS\DI\Container $DIC)
 
 root ()
 Get interface to the global logger. More...
 
- Public Member Functions inherited from ILIAS\DI\LoggingServices
 __construct (Container $container)
 
 root ()
 Get interface to the global logger. More...
 
 __call (string $method_name, array $args)
 Get a component logger. More...
 

Additional Inherited Members

- Protected Attributes inherited from ILIAS\DI\LoggingServices
Container $container
 

Detailed Description

Definition at line 5 of file ilSystemStyleLoggerMock.php.

Constructor & Destructor Documentation

◆ __construct()

ilSystemStyleLoggerMock::__construct ( \ILIAS\DI\Container  $DIC)

Definition at line 7 of file ilSystemStyleLoggerMock.php.

8 {
9 $this->container = $DIC;
10 }
global $DIC
Definition: feed.php:28

References $DIC.

Member Function Documentation

◆ root()

ilSystemStyleLoggerMock::root ( )

Get interface to the global logger.

Returns
\ilLogger

Reimplemented from ILIAS\DI\LoggingServices.

Definition at line 12 of file ilSystemStyleLoggerMock.php.

12 : ilLogger
13 {
14 return new ilSystemStyleRootLoggerMock();
15 }
Component logger with individual log levels by component id.

The documentation for this class was generated from the following file: