◆ __construct()
| ILIAS\WebDAV\Log\Log::__construct |
( |
private bool |
$enable_debugging | ) |
|
◆ handleException()
| ILIAS\WebDAV\Log\Log::handleException |
( |
\Throwable |
$e | ) |
|
|
private |
Definition at line 64 of file Log.php.
64 : void
65 {
66 foreach ($this->ignore_exceptions as $ignore_exception) {
67 if (
$e instanceof $ignore_exception) {
68 return;
69 }
70 }
71
72 $called_by =
$e->getTrace()[0] ??
null;
73 if ($called_by && isset($called_by['class'], $called_by['function'])) {
75 'WEBDAV: Exception in ' . $called_by[
'class'] .
'::' . $called_by[
'function'] .
' - ' .
$e->getMessage(
76 ),
77 );
78 } else {
80 'WEBDAV: Uncaught exception - ' .
$e->getMessage(),
81 );
82 }
83 }
References Vendor\Package\$e, and ILIAS\Repository\logger().
Referenced by ILIAS\WebDAV\Log\Log\initialize().
◆ initialize()
| ILIAS\WebDAV\Log\Log::initialize |
( |
Server |
$server | ) |
|
◆ $ignore_exceptions
| array ILIAS\WebDAV\Log\Log::$ignore_exceptions |
|
private |
Initial value:= [
NotFound::class,
NotAuthenticated::class,
Locked::class,
ConflictingLock::class,
]
Definition at line 43 of file Log.php.
◆ $logger
| ilLogger ILIAS\WebDAV\Log\Log::$logger = null |
|
private |
◆ EVENT_TYPE_EXCEPTION
| const string ILIAS\WebDAV\Log\Log::EVENT_TYPE_EXCEPTION = 'exception' |
|
private |
The documentation for this class was generated from the following file:
- components/ILIAS/WebDAV/src/Log/Log.php