ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
getLevelByComponent ($a_component_id) | |
Get level by component. More... | |
isEnabled () | |
Check if logging is enabled. More... | |
getLogDir () | |
getLogFile () | |
getLevel () | |
Get log level. More... | |
setLevel ($a_level) | |
Set log level. More... | |
setCacheLevel ($a_level) | |
Set cache level. More... | |
getCacheLevel () | |
Get cache level. More... | |
enableCaching ($a_status) | |
Enable caching. More... | |
isCacheEnabled () | |
enableMemoryUsage ($a_stat) | |
Enable logging of memory usage. More... | |
isMemoryUsageEnabled () | |
Check if loggin of memory usage is enabled. More... | |
isBrowserLogEnabled () | |
Check if browser log is enabled. More... | |
isBrowserLogEnabledForUser ($a_login) | |
Check if browser log is enabled for user. More... | |
enableBrowserLog ($a_stat) | |
Enable browser log. More... | |
getBrowserLogUsers () | |
setBrowserUsers (array $users) | |
update () | |
Update setting. More... | |
Static Public Member Functions | |
static | getInstance () |
Get instance. More... | |
Protected Member Functions | |
getStorage () | |
Static Protected Attributes | |
static | $instance = null |
Private Member Functions | |
__construct () | |
Singleton contructor. More... | |
read () | |
Read settings. More... | |
Private Attributes | |
$enabled = FALSE | |
$storage = null | |
$level = null | |
$cache = FALSE | |
$cache_level = null | |
$memory_usage = FALSE | |
$browser = FALSE | |
$browser_users = array() | |
Definition at line 18 of file class.ilLoggingDBSettings.php.
|
private |
Singleton contructor.
private
Definition at line 40 of file class.ilLoggingDBSettings.php.
References $ilDB, ilLogLevel\DEBUG, ilLogLevel\INFO, and read().
ilLoggingDBSettings::enableBrowserLog | ( | $a_stat | ) |
Enable browser log.
type | $a_stat |
Definition at line 217 of file class.ilLoggingDBSettings.php.
Referenced by read().
ilLoggingDBSettings::enableCaching | ( | $a_status | ) |
Enable caching.
type | $a_status |
Definition at line 157 of file class.ilLoggingDBSettings.php.
Referenced by read().
ilLoggingDBSettings::enableMemoryUsage | ( | $a_stat | ) |
Enable logging of memory usage.
type | $a_stat |
Definition at line 171 of file class.ilLoggingDBSettings.php.
Referenced by read().
ilLoggingDBSettings::getBrowserLogUsers | ( | ) |
Implements ilLoggingSettings.
Definition at line 222 of file class.ilLoggingDBSettings.php.
References $browser_users.
Referenced by isBrowserLogEnabledForUser(), and update().
ilLoggingDBSettings::getCacheLevel | ( | ) |
Get cache level.
Implements ilLoggingSettings.
Definition at line 148 of file class.ilLoggingDBSettings.php.
References $cache_level.
Referenced by update().
|
static |
Get instance.
int | $a_server_id |
Definition at line 58 of file class.ilLoggingDBSettings.php.
Referenced by ilLogComponentTableGUI\fillRow(), ilLoggerFactory\getInstance(), ilLogComponentTableGUI\init(), and ilObjLoggingSettingsGUI\initSettings().
ilLoggingDBSettings::getLevel | ( | ) |
Get log level.
Implements ilLoggingSettings.
Definition at line 121 of file class.ilLoggingDBSettings.php.
References $level.
Referenced by getLevelByComponent(), and update().
ilLoggingDBSettings::getLevelByComponent | ( | $a_component_id | ) |
Get level by component.
type | $a_component_id |
Implements ilLoggingSettings.
Definition at line 73 of file class.ilLoggingDBSettings.php.
References $level, ilLogComponentLevels\getInstance(), and getLevel().
ilLoggingDBSettings::getLogDir | ( | ) |
Implements ilLoggingSettings.
Definition at line 107 of file class.ilLoggingDBSettings.php.
ilLoggingDBSettings::getLogFile | ( | ) |
Implements ilLoggingSettings.
Definition at line 112 of file class.ilLoggingDBSettings.php.
|
protected |
ilLoggingDBSettings::isBrowserLogEnabled | ( | ) |
Check if browser log is enabled.
Implements ilLoggingSettings.
Definition at line 189 of file class.ilLoggingDBSettings.php.
References $browser.
Referenced by isBrowserLogEnabledForUser(), and update().
ilLoggingDBSettings::isBrowserLogEnabledForUser | ( | $a_login | ) |
Check if browser log is enabled for user.
type | $a_login |
Implements ilLoggingSettings.
Definition at line 200 of file class.ilLoggingDBSettings.php.
References getBrowserLogUsers(), and isBrowserLogEnabled().
ilLoggingDBSettings::isCacheEnabled | ( | ) |
Implements ilLoggingSettings.
Definition at line 162 of file class.ilLoggingDBSettings.php.
References $cache.
Referenced by update().
ilLoggingDBSettings::isEnabled | ( | ) |
Check if logging is enabled.
Implements ilLoggingSettings.
Definition at line 102 of file class.ilLoggingDBSettings.php.
References $enabled.
ilLoggingDBSettings::isMemoryUsageEnabled | ( | ) |
Check if loggin of memory usage is enabled.
Implements ilLoggingSettings.
Definition at line 180 of file class.ilLoggingDBSettings.php.
References $memory_usage.
Referenced by update().
|
private |
Read settings.
private
Definition at line 252 of file class.ilLoggingDBSettings.php.
References enableBrowserLog(), enableCaching(), enableMemoryUsage(), getStorage(), setBrowserUsers(), setCacheLevel(), and setLevel().
Referenced by __construct().
ilLoggingDBSettings::setBrowserUsers | ( | array | $users | ) |
Definition at line 227 of file class.ilLoggingDBSettings.php.
Referenced by read().
ilLoggingDBSettings::setCacheLevel | ( | $a_level | ) |
Set cache level.
type | $a_level |
Definition at line 139 of file class.ilLoggingDBSettings.php.
Referenced by read().
ilLoggingDBSettings::setLevel | ( | $a_level | ) |
Set log level.
type | $a_level |
Definition at line 130 of file class.ilLoggingDBSettings.php.
Referenced by read().
ilLoggingDBSettings::update | ( | ) |
Update setting.
Definition at line 236 of file class.ilLoggingDBSettings.php.
References getBrowserLogUsers(), getCacheLevel(), getLevel(), getStorage(), isBrowserLogEnabled(), isCacheEnabled(), and isMemoryUsageEnabled().
|
private |
Definition at line 30 of file class.ilLoggingDBSettings.php.
Referenced by isBrowserLogEnabled().
|
private |
Definition at line 31 of file class.ilLoggingDBSettings.php.
Referenced by getBrowserLogUsers().
|
private |
Definition at line 27 of file class.ilLoggingDBSettings.php.
Referenced by isCacheEnabled().
|
private |
Definition at line 28 of file class.ilLoggingDBSettings.php.
Referenced by getCacheLevel().
|
private |
Definition at line 22 of file class.ilLoggingDBSettings.php.
Referenced by isEnabled().
|
staticprotected |
Definition at line 20 of file class.ilLoggingDBSettings.php.
|
private |
Definition at line 26 of file class.ilLoggingDBSettings.php.
Referenced by getLevel(), and getLevelByComponent().
|
private |
Definition at line 29 of file class.ilLoggingDBSettings.php.
Referenced by isMemoryUsageEnabled().
|
private |
Definition at line 24 of file class.ilLoggingDBSettings.php.
Referenced by getStorage().