ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
__destruct () | |
write ($a_msg, $a_log_level=null) | |
getPid () | |
setPid ($pid) | |
getStack () | |
setStack ($stack) | |
Public Member Functions inherited from ilLog | |
__construct ($a_log_path, $a_log_file, $a_tag="", $a_enabled=true, $a_log_level=NULL) | |
constructor More... | |
setLogLevel ($a_log_level) | |
set global log level More... | |
checkLogLevel ($a_log_level) | |
determine log level More... | |
setLogFormat ($a_format) | |
getLogFormat () | |
setPath ($a_str) | |
setFilename ($a_str) | |
setTag ($a_str) | |
writeLanguageLog ($a_topic, $a_lang_key) | |
special language checking routine More... | |
writeWarning ($a_message) | |
special warning message More... | |
logError ($a_code, $a_msg) | |
this function is automatically called by class.ilErrorHandler in case of an error To log manually please use $this::write public More... | |
write ($a_msg, $a_log_level=NULL) | |
logging More... | |
logStack ($a_message='') | |
dump ($a_var, $a_log_level=NULL) | |
Dump a variable to the log. More... | |
__destruct () | |
delete () | |
delete logfile More... | |
Static Public Member Functions | |
static | getInstance () |
Data Fields | |
const | WAC_LOG = 'wac.log' |
Data Fields inherited from ilLog | |
$path | |
$filename | |
$tag | |
$log_format | |
$FATAL | |
$WARNING | |
$MESSAGE | |
$fp = false | |
Protected Attributes | |
$stack = array() | |
$pid = 0 | |
$is_dummy = false | |
Static Protected Attributes | |
static | $instances = array() |
Class ilWACLog.
Since the ilLoggerFactory need ILIAS to be initialized, the WebAccessChecker can't use it at the moment. Logging is disabled by default and can be activated with ilWebAccessChecker::setDEBUG(true);
Definition at line 16 of file class.ilWACLog.php.
ilWACLog::__destruct | ( | ) |
Definition at line 60 of file class.ilWACLog.php.
References $_SERVER, $ilUser, getPid(), and getStack().
|
static |
Definition at line 40 of file class.ilWACLog.php.
References $ilIliasIniFile, defined, ilWebAccessChecker\isDEBUG(), and ilWebAccessChecker\isUseSeperateLogfile().
Referenced by ilWACException\__construct(), ilWebAccessChecker\check(), ilWACSignedPath\checkToken(), ilFileDelivery\clearBuffer(), ilWebAccessCheckerDelivery\deliver(), ilFileDelivery\detemineDeliveryType(), ilWebAccessChecker\initILIAS(), ilWACSecurePath\returnDbTableName(), ilWACSignedPath\revalidatingFolderToken(), ilWACSignedPath\saveFolderToken(), and ilWACTokenTest\testSomeBasics().
ilWACLog::getPid | ( | ) |
Definition at line 94 of file class.ilWACLog.php.
References $pid.
Referenced by __destruct().
ilWACLog::getStack | ( | ) |
Definition at line 110 of file class.ilWACLog.php.
References $stack.
Referenced by __destruct().
ilWACLog::setPid | ( | $pid | ) |
ilWACLog::setStack | ( | $stack | ) |
ilWACLog::write | ( | $a_msg, | |
$a_log_level = null |
|||
) |
$a_msg | ||
null | $a_log_level |
Definition at line 86 of file class.ilWACLog.php.
|
staticprotected |
Definition at line 26 of file class.ilWACLog.php.
|
protected |
Definition at line 34 of file class.ilWACLog.php.
|
protected |
Definition at line 30 of file class.ilWACLog.php.
|
protected |
Definition at line 22 of file class.ilWACLog.php.
Referenced by getStack(), and setStack().
const ilWACLog::WAC_LOG = 'wac.log' |
Definition at line 18 of file class.ilWACLog.php.