19declare(strict_types=1);
82 throw new Exception(
'Can not return monolog logger from a null logger.');
writeLanguageLog(string $topic, string $lang_key)
Write language log.
info(string $message, array $context=[])
dump($value, int $level=ilLogLevel::INFO)
alert(string $message, array $context=[])
critical(string $message, array $context=[])
write(string $message, $level=ilLogLevel::INFO, array $context=[])
write log message
warning(string $message, array $context=[])
log(string $message, int $level=ilLogLevel::INFO, array $context=[])
debug(string $message, array $context=[])
error(string $message, array $context=[])
getLogger()
@noinspection \PhpInconsistentReturnPointsInspection
notice(string $message, array $context=[])
isHandling(int $level)
Check whether current logger is handling a log level.
writeMemoryPeakUsage(int $level)
Write memory peak usage Automatically called at end of script.
logStack(?int $level=null, string $message='', array $context=[])
emergency(string $message, array $context=[])
Component logger with individual log levels by component id.