ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\components\Logging\NullLogger Class Reference
+ Inheritance diagram for ILIAS\components\Logging\NullLogger:
+ Collaboration diagram for ILIAS\components\Logging\NullLogger:

Public Member Functions

 __construct ()
 
 isHandling (int $level)
 
 log (string $message, int $level=ilLogLevel::INFO, array $context=[])
 
 dump ($value, int $level=ilLogLevel::INFO)
 
 debug (string $message, array $context=[])
 
 info (string $message, array $context=[])
 
 notice (string $message, array $context=[])
 
 warning (string $message, array $context=[])
 
 error (string $message, array $context=[])
 
 critical (string $message, array $context=[])
 
 alert (string $message, array $context=[])
 
 emergency (string $message, array $context=[])
 
 getLogger ()
 
 write (string $message, $level=ilLogLevel::INFO, array $context=[])
 
 writeLanguageLog (string $topic, string $lang_key)
 
 logStack (?int $level=null, string $message='', array $context=[])
 
 writeMemoryPeakUsage (int $level)
 
- Public Member Functions inherited from ilLogger
 __construct (private readonly Logger $logger)
 
 isHandling (int $level)
 Check whether current logger is handling a log level. More...
 
 log (string $message, int $level=ilLogLevel::INFO, array $context=[])
 
 dump ($value, int $level=ilLogLevel::INFO)
 
 debug (string $message, array $context=[])
 
 info (string $message, array $context=[])
 
 notice (string $message, array $context=[])
 
 warning (string $message, array $context=[])
 
 error (string $message, array $context=[])
 
 critical (string $message, array $context=[])
 
 alert (string $message, array $context=[])
 
 emergency (string $message, array $context=[])
 
 getLogger ()
 
 write (string $message, $level=ilLogLevel::INFO, array $context=[])
 write log message More...
 
 writeLanguageLog (string $topic, string $lang_key)
 Write language log. More...
 
 logStack (?int $level=null, string $message='', array $context=[])
 
 writeMemoryPeakUsage (int $level)
 Write memory peak usage Automatically called at end of script. More...
 

Detailed Description

Definition at line 28 of file NullLogger.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\components\Logging\NullLogger::__construct ( )

Definition at line 30 of file NullLogger.php.

31  {
32  }

Member Function Documentation

◆ alert()

ILIAS\components\Logging\NullLogger::alert ( string  $message,
array  $context = [] 
)

Definition at line 71 of file NullLogger.php.

71  : void
72  {
73  }

◆ critical()

ILIAS\components\Logging\NullLogger::critical ( string  $message,
array  $context = [] 
)

Definition at line 67 of file NullLogger.php.

67  : void
68  {
69  }

◆ debug()

ILIAS\components\Logging\NullLogger::debug ( string  $message,
array  $context = [] 
)

Definition at line 47 of file NullLogger.php.

47  : void
48  {
49  }

◆ dump()

ILIAS\components\Logging\NullLogger::dump (   $value,
int  $level = ilLogLevel::INFO 
)

Definition at line 43 of file NullLogger.php.

43  : void
44  {
45  }

◆ emergency()

ILIAS\components\Logging\NullLogger::emergency ( string  $message,
array  $context = [] 
)

Definition at line 75 of file NullLogger.php.

75  : void
76  {
77  }

◆ error()

ILIAS\components\Logging\NullLogger::error ( string  $message,
array  $context = [] 
)

Definition at line 63 of file NullLogger.php.

63  : void
64  {
65  }

◆ getLogger()

ILIAS\components\Logging\NullLogger::getLogger ( )

Definition at line 80 of file NullLogger.php.

80  : Logger
81  {
82  throw new Exception('Can not return monolog logger from a null logger.');
83  }

◆ info()

ILIAS\components\Logging\NullLogger::info ( string  $message,
array  $context = [] 
)

Definition at line 51 of file NullLogger.php.

51  : void
52  {
53  }

◆ isHandling()

ILIAS\components\Logging\NullLogger::isHandling ( int  $level)

Definition at line 34 of file NullLogger.php.

34  : bool
35  {
36  return true;
37  }

◆ log()

ILIAS\components\Logging\NullLogger::log ( string  $message,
int  $level = ilLogLevel::INFO,
array  $context = [] 
)

Definition at line 39 of file NullLogger.php.

39  : void
40  {
41  }

◆ logStack()

ILIAS\components\Logging\NullLogger::logStack ( ?int  $level = null,
string  $message = '',
array  $context = [] 
)

Definition at line 93 of file NullLogger.php.

93  : void
94  {
95  }

◆ notice()

ILIAS\components\Logging\NullLogger::notice ( string  $message,
array  $context = [] 
)

Definition at line 55 of file NullLogger.php.

55  : void
56  {
57  }

◆ warning()

ILIAS\components\Logging\NullLogger::warning ( string  $message,
array  $context = [] 
)

Definition at line 59 of file NullLogger.php.

59  : void
60  {
61  }

◆ write()

ILIAS\components\Logging\NullLogger::write ( string  $message,
  $level = ilLogLevel::INFO,
array  $context = [] 
)

Definition at line 85 of file NullLogger.php.

85  : void
86  {
87  }

◆ writeLanguageLog()

ILIAS\components\Logging\NullLogger::writeLanguageLog ( string  $topic,
string  $lang_key 
)

Definition at line 89 of file NullLogger.php.

89  : void
90  {
91  }

◆ writeMemoryPeakUsage()

ILIAS\components\Logging\NullLogger::writeMemoryPeakUsage ( int  $level)

Definition at line 97 of file NullLogger.php.

97  : void
98  {
99  }

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