ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
Component logger with individual log levels by component id. More...
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().
ilLogger::critical | ( | string | $message, |
array | $context = [] |
||
) |
Definition at line 79 of file class.ilLogger.php.
References $context, and getLogger().
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().
ilLogger::dump | ( | $value, | |
int | $level = ilLogLevel::INFO |
||
) |
Definition at line 47 of file class.ilLogger.php.
References log().
ilLogger::emergency | ( | string | $message, |
array | $context = [] |
||
) |
Definition at line 89 of file class.ilLogger.php.
References $context, and getLogger().
ilLogger::error | ( | string | $message, |
array | $context = [] |
||
) |
Definition at line 74 of file class.ilLogger.php.
References $context, and getLogger().
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().
ilLogger::info | ( | string | $message, |
array | $context = [] |
||
) |
Definition at line 59 of file class.ilLogger.php.
References $context, and getLogger().
ilLogger::isHandling | ( | int | $level | ) |
Check whether current logger is handling a log level.
Definition at line 37 of file class.ilLogger.php.
References getLogger().
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().
ilLogger::logStack | ( | ?int | $level = null , |
string | $message = '' , |
||
array | $context = [] |
||
) |
Definition at line 121 of file class.ilLogger.php.
References $context, $message, ilLogLevel\getLevels(), getLogger(), and ilLogLevel\INFO.
Referenced by ilCourseAppEventListener\awardCertificate(), ilParticipants\getInstance(), ilParticipants\getInstanceByObjId(), and ilContainer\update().
ilLogger::notice | ( | string | $message, |
array | $context = [] |
||
) |
Definition at line 64 of file class.ilLogger.php.
References $context, and getLogger().
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().
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().
ilLogger::writeLanguageLog | ( | string | $topic, |
string | $lang_key | ||
) |
Write language log.
Definition at line 116 of file class.ilLogger.php.
References getLogger().
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().