|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Component logger with individual log levels by component id. More...
Inheritance diagram for ilLogger:
Collaboration diagram for ilLogger:Public Member Functions | |
| __construct (Logger $logger) | |
| log ($a_message, $a_level=ilLogLevel::INFO) | |
| dump ($a_variable, $a_level=ilLogLevel::INFO) | |
| debug ($a_message, $a_context=array()) | |
| info ($a_message) | |
| notice ($a_message) | |
| warning ($a_message) | |
| error ($a_message) | |
| critical ($a_message) | |
| alert ($a_message) | |
| emergency ($a_message) | |
| getLogger () | |
| Get logger instance. More... | |
| write ($a_message, $a_level=ilLogLevel::INFO) | |
| write log message More... | |
| writeLanguageLog ($a_topic, $a_lang_key) | |
| Write language log. More... | |
| logStack ($a_level=null, $a_message='') | |
| log stack trace More... | |
| writeMemoryPeakUsage ($a_level) | |
| Write memory peak usage Automatically called at end of script. More... | |
Private Attributes | |
| $logger = null | |
Component logger with individual log levels by component id.
Definition at line 20 of file class.ilLogger.php.
| ilLogger::__construct | ( | Logger | $logger | ) |
Definition at line 24 of file class.ilLogger.php.
References $logger.
| ilLogger::alert | ( | $a_message | ) |
Definition at line 69 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::critical | ( | $a_message | ) |
Definition at line 64 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::debug | ( | $a_message, | |
$a_context = array() |
|||
| ) |
Definition at line 39 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::dump | ( | $a_variable, | |
$a_level = ilLogLevel::INFO |
|||
| ) |
Definition at line 34 of file class.ilLogger.php.
References log().
Here is the call graph for this function:| ilLogger::emergency | ( | $a_message | ) |
Definition at line 75 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::error | ( | $a_message | ) |
Definition at line 59 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::getLogger | ( | ) |
Get logger instance.
Definition at line 84 of file class.ilLogger.php.
References $logger.
Referenced by alert(), critical(), debug(), emergency(), error(), info(), log(), logStack(), notice(), warning(), write(), writeLanguageLog(), and writeMemoryPeakUsage().
Here is the caller graph for this function:| ilLogger::info | ( | $a_message | ) |
Definition at line 44 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::log | ( | $a_message, | |
$a_level = ilLogLevel::INFO |
|||
| ) |
Definition at line 29 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 | ( | $a_level = null, |
|
$a_message = '' |
|||
| ) |
log stack trace
| type | $a_level | |
| type | $a_message |
Exception
Definition at line 120 of file class.ilLogger.php.
References ilLogLevel\getLevels(), getLogger(), and ilLogLevel\INFO.
Here is the call graph for this function:| ilLogger::notice | ( | $a_message | ) |
Definition at line 49 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::warning | ( | $a_message | ) |
Definition at line 54 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::write | ( | $a_message, | |
$a_level = ilLogLevel::INFO |
|||
| ) |
write log message
Definition at line 94 of file class.ilLogger.php.
References ilLogLevel\getLevels(), getLogger(), and ilLogLevel\INFO.
Here is the call graph for this function:| ilLogger::writeLanguageLog | ( | $a_topic, | |
| $a_lang_key | |||
| ) |
Write language log.
Definition at line 109 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:| ilLogger::writeMemoryPeakUsage | ( | $a_level | ) |
Write memory peak usage Automatically called at end of script.
| int | $a_level |
Definition at line 147 of file class.ilLogger.php.
References getLogger().
Here is the call graph for this function:
|
private |
Definition at line 22 of file class.ilLogger.php.
Referenced by __construct(), and getLogger().