|
ILIAS
release_8 Revision v8.24
|
Saves error informations into file. More...
Collaboration diagram for ilLoggingErrorFileStorage:Public Member Functions | |
| __construct (Inspector $inspector, string $file_path, string $file_name) | |
| withExclusionList (array $exclusion_list) | |
| write () | |
Protected Member Functions | |
| createDir (string $path) | |
| content () | |
| pageHeader () | |
| exceptionContent () | |
| Get a short info about the exception. More... | |
| tablesContent () | |
| Get the header for the page. More... | |
| tables () | |
| Get the tables that should be rendered. More... | |
Protected Attributes | |
| const | KEY_SPACE = 25 |
| const | FILE_FORMAT = ".log" |
| Inspector | $inspector |
| string | $file_path |
| string | $file_name |
Private Member Functions | |
| hideSensitiveData (array $super_global) | |
| shortenPHPSessionId (array $server) | |
| Shorts the php session id. More... | |
Private Attributes | |
| array | $exclusion_list = [] |
Saves error informations into file.
Definition at line 27 of file class.ilLoggingErrorFileStorage.php.
| ilLoggingErrorFileStorage::__construct | ( | Inspector | $inspector, |
| string | $file_path, | ||
| string | $file_name | ||
| ) |
Definition at line 38 of file class.ilLoggingErrorFileStorage.php.
References $file_name, $file_path, and $inspector.
|
protected |
Definition at line 62 of file class.ilLoggingErrorFileStorage.php.
References exceptionContent(), pageHeader(), and tablesContent().
Referenced by write().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 55 of file class.ilLoggingErrorFileStorage.php.
References ilFileUtils\makeDirParents().
Referenced by write().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Get a short info about the exception.
Definition at line 89 of file class.ilLoggingErrorFileStorage.php.
Referenced by content().
Here is the caller graph for this function:
|
private |
| array<string,mixed> | $super_global |
Definition at line 153 of file class.ilLoggingErrorFileStorage.php.
Referenced by tables().
Here is the caller graph for this function:
|
protected |
Definition at line 81 of file class.ilLoggingErrorFileStorage.php.
Referenced by content().
Here is the caller graph for this function:
|
private |
Shorts the php session id.
Definition at line 171 of file class.ilLoggingErrorFileStorage.php.
References ILIAS\LTI\ToolProvider\$key, and $server.
Referenced by tables().
Here is the caller graph for this function:
|
protected |
Get the tables that should be rendered.
Definition at line 130 of file class.ilLoggingErrorFileStorage.php.
References $_COOKIE, $_GET, $_SERVER, $post, $server, hideSensitiveData(), and shortenPHPSessionId().
Referenced by tablesContent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Get the header for the page.
Definition at line 97 of file class.ilLoggingErrorFileStorage.php.
References ILIAS\LTI\ToolProvider\$key, and tables().
Referenced by content().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLoggingErrorFileStorage::withExclusionList | ( | array | $exclusion_list | ) |
| list<string> | $exclusion_list |
Definition at line 48 of file class.ilLoggingErrorFileStorage.php.
References $exclusion_list.
| ilLoggingErrorFileStorage::write | ( | ) |
Definition at line 70 of file class.ilLoggingErrorFileStorage.php.
References $file_name, content(), createDir(), and FILE_FORMAT.
Here is the call graph for this function:
|
private |
Definition at line 36 of file class.ilLoggingErrorFileStorage.php.
Referenced by withExclusionList().
|
protected |
Definition at line 34 of file class.ilLoggingErrorFileStorage.php.
Referenced by __construct(), and write().
|
protected |
Definition at line 33 of file class.ilLoggingErrorFileStorage.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ilLoggingErrorFileStorage.php.
Referenced by __construct().
|
protected |
Definition at line 30 of file class.ilLoggingErrorFileStorage.php.
Referenced by write().
|
protected |
Definition at line 29 of file class.ilLoggingErrorFileStorage.php.