|
ILIAS
release_8 Revision v8.24
|
Component logger with individual log levels by component id. More...
Inheritance diagram for ilLogger:
Collaboration diagram for ilLogger:Public Member Functions | |
| __construct (Logger $logger) | |
| isHandling (int $a_level) | |
| Check whether current logger is handling a log level. More... | |
| log (string $a_message, int $a_level=ilLogLevel::INFO) | |
| dump ($a_variable, int $a_level=ilLogLevel::INFO) | |
| debug (string $a_message, array $a_context=array()) | |
| info (string $a_message) | |
| notice (string $a_message) | |
| warning (string $a_message) | |
| error (string $a_message) | |
| critical (string $a_message) | |
| alert (string $a_message) | |
| emergency (string $a_message) | |
| getLogger () | |
| write (string $a_message, $a_level=ilLogLevel::INFO) | |
| write log message More... | |
| writeLanguageLog (string $a_topic, string $a_lang_key) | |
| Write language log. More... | |
| logStack (?int $a_level=null, string $a_message='') | |
| writeMemoryPeakUsage (int $a_level) | |
| Write memory peak usage Automatically called at end of script. More... | |
Private Attributes | |
| Logger | $logger |
Component logger with individual log levels by component id.
Definition at line 16 of file class.ilLogger.php.
| ilLogger::__construct | ( | Logger | $logger | ) |
Definition at line 20 of file class.ilLogger.php.
References $logger, and ILIAS\Repository\logger().
Here is the call graph for this function:| ilLogger::alert | ( | string | $a_message | ) |
Definition at line 78 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::critical | ( | string | $a_message | ) |
Definition at line 73 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::debug | ( | string | $a_message, |
| array | $a_context = array() |
||
| ) |
Reimplemented in ilSystemStyleRootLoggerMock.
Definition at line 48 of file class.ilLogger.php.
References getLogger().
Referenced by ilForumAppEventListener\delegateNotification(), ilExportContainer\exportObject(), ilLTIAppEventListener\handleEvent(), ilLTIAppEventListener\handleOutcomeWithoutLP(), ilTermsOfServiceHelper\hasToResignAcceptance(), ilAuthFrontendCredentialsLTI\initFromRequest(), and ilForumAppEventListener\sendNotification().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLogger::dump | ( | $a_variable, | |
| int | $a_level = ilLogLevel::INFO |
||
| ) |
| mixed | $a_variable | |
| int | $a_level |
Definition at line 43 of file class.ilLogger.php.
References log().
Here is the call graph for this function:| ilLogger::emergency | ( | string | $a_message | ) |
Definition at line 84 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::error | ( | string | $a_message | ) |
Definition at line 68 of file class.ilLogger.php.
References 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 89 of file class.ilLogger.php.
References $logger.
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 | $a_message | ) |
Definition at line 53 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::isHandling | ( | int | $a_level | ) |
Check whether current logger is handling a log level.
Definition at line 28 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::log | ( | string | $a_message, |
| int | $a_level = ilLogLevel::INFO |
||
| ) |
Definition at line 33 of file class.ilLogger.php.
References getLogger().
Referenced by dump().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLogger::logStack | ( | ?int | $a_level = null, |
| string | $a_message = '' |
||
| ) |
Definition at line 118 of file class.ilLogger.php.
References ilLogLevel\getLevels(), getLogger(), and ilLogLevel\INFO.
Referenced by ilParticipants\getInstance(), ilParticipants\getInstanceByObjId(), and ilRandom\int().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLogger::notice | ( | string | $a_message | ) |
Definition at line 58 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::warning | ( | string | $a_message | ) |
Definition at line 63 of file class.ilLogger.php.
References getLogger().
Referenced by 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 | $a_message, |
$a_level = ilLogLevel::INFO |
|||
| ) |
write log message
| int | $_level |
Definition at line 101 of file class.ilLogger.php.
References 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 | $a_topic, |
| string | $a_lang_key | ||
| ) |
Write language log.
Definition at line 113 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 | $a_level | ) |
Write memory peak usage Automatically called at end of script.
Definition at line 140 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:
|
private |
Definition at line 18 of file class.ilLogger.php.
Referenced by __construct(), and getLogger().