4include_once 
'./Services/Logging/classes/public/class.ilLogLevel.php';
 
    5include_once 
'./Services/Administration/classes/class.ilSetting.php';
 
    6include_once 
'./Services/Logging/interfaces/interface.ilLoggingSettings.php';
 
   47        $this->enabled = ILIAS_LOG_ENABLED;
 
   51        $this->storage = 
new ilSetting(
'logging');
 
   62        if (self::$instance) {
 
   65        return self::$instance = 
new self();
 
   76        include_once 
'./Services/Logging/classes/class.ilLogComponentLevels.php';
 
   78        foreach ($levels as 
$level) {
 
   79            if (
$level->getComponentId() == $a_component_id) {
 
  107        return ILIAS_LOG_DIR;
 
  112        return ILIAS_LOG_FILE;
 
  130        $this->level = $a_level;
 
  139        $this->cache_level = $a_level;
 
  157        $this->cache = $a_status;
 
  171        $this->memory_usage = $a_stat;
 
  215        $this->browser = $a_stat;
 
  225        $this->browser_users = $users;
 
An exception for terminatinating execution or to throw for unit testing.
setLevel($a_level)
Set log level.
enableCaching($a_status)
Enable caching.
getCacheLevel()
Get cache level.
isMemoryUsageEnabled()
Check if loggin of memory usage is enabled.
isBrowserLogEnabled()
Check if browser log is enabled.
__construct()
Singleton contructor.
enableMemoryUsage($a_stat)
Enable logging of memory usage.
setBrowserUsers(array $users)
enableBrowserLog($a_stat)
Enable browser log.
static getInstance()
Get instance.
isEnabled()
Check if logging is enabled.
getLevelByComponent($a_component_id)
Get level by component.
isBrowserLogEnabledForUser($a_login)
Check if browser log is enabled for user.
setCacheLevel($a_level)
Set cache level.