3 declare(strict_types=1);
    33         $this->enabled = (bool) ILIAS_LOG_ENABLED;
    37         $this->storage = 
new ilSetting(
'logging');
    43         if (self::$instance) {
    44             return self::$instance;
    46         return self::$instance = 
new self();
    56         foreach ($levels as $level) {
    57             if ($level->getComponentId() == $a_component_id) {
    58                 if ($level->getLevel()) {
    59                     return $level->getLevel();
    90         return ILIAS_LOG_FILE;
   100         $this->level = $a_level;
   105         $this->cache_level = $a_level;
   115         $this->cache = $a_status;
   125         $this->memory_usage = $a_stat;
   152         $this->browser = $a_stat;
   162         $this->browser_users = $users;
 
enableMemoryUsage(bool $a_stat)
 
isBrowserLogEnabledForUser(string $a_login)
 
enableCaching(bool $a_status)
 
enableBrowserLog(bool $a_stat)
 
setBrowserUsers(array $users)
 
static ilLoggingDBSettings $instance
 
getLevelByComponent(string $a_component_id)
Get level by component. 
 
setCacheLevel(int $a_level)
 
isEnabled()
Check if logging is enabled.