|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Component logger with individual log levels by component id. More...
Inheritance diagram for ilLogger:
Collaboration diagram for ilLogger:Public Member Functions | |
| __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... | |
Component logger with individual log levels by component id.
Definition at line 28 of file class.ilLogger.php.
| ilLogger::__construct | ( | private readonly Logger | $logger | ) |
Definition at line 30 of file class.ilLogger.php.
| ilLogger::alert | ( | string | $message, |
| array | $context = [] |
||
| ) |
Reimplemented in ILIAS\components\Logging\NullLogger.
Definition at line 84 of file class.ilLogger.php.
References $context, and getLogger().
Here is the call graph for this function:| ilLogger::critical | ( | string | $message, |
| array | $context = [] |
||
| ) |
Reimplemented in ILIAS\components\Logging\NullLogger.
Definition at line 79 of file class.ilLogger.php.
References $context, and getLogger().
Here is the call graph for this function:| ilLogger::debug | ( | string | $message, |
| array | $context = [] |
||
| ) |
Reimplemented in ilSystemStyleRootLoggerMock, and ILIAS\components\Logging\NullLogger.
Definition at line 54 of file class.ilLogger.php.
References $context, and getLogger().
Referenced by ilLTIAppEventListener\definePercentageByObjectId(), ilForumAppEventListener\delegateNotification(), ilExportContainer\exportObject(), ilLTIAppEventListener\handleOutcomeWithoutLP(), ilAuthFrontendCredentialsLTI\initFromRequest(), and ilForumAppEventListener\sendNotification().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLogger::dump | ( | $value, | |
| int | $level = ilLogLevel::INFO |
||
| ) |
Reimplemented in ILIAS\components\Logging\NullLogger.
Definition at line 47 of file class.ilLogger.php.
References log().
Here is the call graph for this function:| ilLogger::emergency | ( | string | $message, |
| array | $context = [] |
||
| ) |
Reimplemented in ILIAS\components\Logging\NullLogger.
Definition at line 89 of file class.ilLogger.php.
References $context, and getLogger().
Here is the call graph for this function:| ilLogger::error | ( | string | $message, |
| array | $context = [] |
||
| ) |
Reimplemented in ILIAS\components\Logging\NullLogger.
Definition at line 74 of file class.ilLogger.php.
References $context, and getLogger().
Here is the call graph for this function:| ilLogger::getLogger | ( | ) |
Reimplemented in ILIAS\components\Logging\NullLogger.
Definition at line 94 of file class.ilLogger.php.
Referenced by alert(), critical(), debug(), emergency(), error(), info(), isHandling(), log(), logStack(), notice(), warning(), write(), writeLanguageLog(), and writeMemoryPeakUsage().
Here is the caller graph for this function:| ilLogger::info | ( | string | $message, |
| array | $context = [] |
||
| ) |
Reimplemented in ILIAS\components\Logging\NullLogger.
Definition at line 59 of file class.ilLogger.php.
References $context, and getLogger().
Referenced by ilLTIAppEventListener\definePercentageByObjectId(), and ilLTIAppEventListener\handleEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLogger::isHandling | ( | int | $level | ) |
Check whether current logger is handling a log level.
Reimplemented in ILIAS\components\Logging\NullLogger.
Definition at line 37 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::log | ( | string | $message, |
| int | $level = ilLogLevel::INFO, |
||
| array | $context = [] |
||
| ) |
Reimplemented in ILIAS\components\Logging\NullLogger.
Definition at line 42 of file class.ilLogger.php.
References $context, and getLogger().
Referenced by dump().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLogger::logStack | ( | ?int | $level = null, |
| string | $message = '', |
||
| array | $context = [] |
||
| ) |
Reimplemented in ILIAS\components\Logging\NullLogger.
Definition at line 121 of file class.ilLogger.php.
References $context, ilLogLevel\getLevels(), getLogger(), and ilLogLevel\INFO.
Referenced by ilCourseAppEventListener\awardCertificate(), ilParticipants\getInstance(), and ilParticipants\getInstanceByObjId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLogger::notice | ( | string | $message, |
| array | $context = [] |
||
| ) |
Reimplemented in ILIAS\components\Logging\NullLogger.
Definition at line 64 of file class.ilLogger.php.
References $context, and getLogger().
Here is the call graph for this function:| ilLogger::warning | ( | string | $message, |
| array | $context = [] |
||
| ) |
Reimplemented in ILIAS\components\Logging\NullLogger.
Definition at line 69 of file class.ilLogger.php.
References $context, and getLogger().
Referenced by ilCourseAppEventListener\awardCertificate(), ilGroupAppEventListener\doAutoFill(), ilParticipants\getInstance(), ilParticipants\getInstanceByObjId(), and ilCalendarRemoteAccessHandler\handleRequest().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLogger::write | ( | string | $message, |
$level = ilLogLevel::INFO, |
|||
| array | $context = [] |
||
| ) |
write log message
Reimplemented in ILIAS\components\Logging\NullLogger.
Definition at line 104 of file class.ilLogger.php.
References $context, ilLogLevel\getLevels(), getLogger(), and ilLogLevel\INFO.
Referenced by ilQuestionPageParser\storeTree().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLogger::writeLanguageLog | ( | string | $topic, |
| string | $lang_key | ||
| ) |
Write language log.
Reimplemented in ILIAS\components\Logging\NullLogger.
Definition at line 116 of file class.ilLogger.php.
References getLogger().
Referenced by ilSetupLanguage\txt().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLogger::writeMemoryPeakUsage | ( | int | $level | ) |
Write memory peak usage Automatically called at end of script.
Reimplemented in ILIAS\components\Logging\NullLogger.
Definition at line 143 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function: