|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
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 = [] |
||
| ) |
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 = [] |
||
| ) |
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 = [] |
||
| ) |
Definition at line 54 of file class.ilLogger.php.
References $context, and getLogger().
Referenced by ilContainer\_exportContainerSettings(), ilObjUser\_getUsersOnline(), ilPCParagraph\_input2xml(), ilContainer\_writeContainerSetting(), ilContainer\create(), ilForumAppEventListener\delegateNotification(), ilPCMediaObject\deleteHistoryLowerEqualThan(), ilExportContainer\exportObject(), ilExAssignment\getPendingFeedbackNotifications(), ilObjSurvey\getSurveysWithTutorResults(), ilAuthFrontendCredentialsLTI\initFromRequest(), ilPCResources\modifyItemGroupRefIdsByMapping(), ILIAS\Wiki\Notification\NotificationGUI\send(), ilExAssignment\sendFeedbackNotifications(), ilForumAppEventListener\sendNotification(), and ilContainer\update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLogger::dump | ( | $value, | |
| int | $level = ilLogLevel::INFO |
||
| ) |
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 = [] |
||
| ) |
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 = [] |
||
| ) |
Definition at line 74 of file class.ilLogger.php.
References $context, and getLogger().
Referenced by ilRandom\int().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLogger::getLogger | ( | ) |
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 = [] |
||
| ) |
Definition at line 59 of file class.ilLogger.php.
References $context, and getLogger().
Here is the call graph for this function:| ilLogger::isHandling | ( | int | $level | ) |
Check whether current logger is handling a log level.
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 = [] |
||
| ) |
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 = [] |
||
| ) |
Definition at line 121 of file class.ilLogger.php.
References $context, ilLogLevel\getLevels(), getLogger(), and ilLogLevel\INFO.
Referenced by ilCourseAppEventListener\awardCertificate(), ilParticipants\getInstance(), ilParticipants\getInstanceByObjId(), ilRandom\int(), and ilContainer\update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLogger::notice | ( | string | $message, |
| array | $context = [] |
||
| ) |
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 = [] |
||
| ) |
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
Definition at line 104 of file class.ilLogger.php.
References $context, ilLogLevel\getLevels(), getLogger(), and ilLogLevel\INFO.
Referenced by ilContainerStartObjects\cloneDependencies(), ilItemGroupItems\cloneItems(), ilSurveyParticipantsGUI\deleteSavedMessageObject(), ilSurveyParticipantsGUI\insertSavedMessageObject(), and 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.
Definition at line 116 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::writeMemoryPeakUsage | ( | int | $level | ) |
Write memory peak usage Automatically called at end of script.
Definition at line 143 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function: