Registry¶
-
class
OC\Support\CrashReport\Registry¶ Source: lib/private/Support/CrashReport/Registry.php#40 Implements: OCP\Support\CrashReport\IRegistry
Properties¶
Methods¶
-
public
OC\Support\CrashReport\Registry::__construct($serverContainer)¶ Source: lib/private/Support/CrashReport/Registry.php#54
-
public
OC\Support\CrashReport\Registry::register($reporter)¶ - Register a reporter instance
Source: Parameters: - $reporter (
OCP\Support\CrashReport\IReporter)
- $reporter (
-
public
OC\Support\CrashReport\Registry::registerLazy($class)¶ Source: lib/private/Support/CrashReport/Registry.php#67
-
public
OC\Support\CrashReport\Registry::delegateBreadcrumb($message, $category, $context=[])¶ - Delegate breadcrumb collection to all registered reporters
Source: Parameters: - $message (string)
- $category (string)
- $context (array)
Since: 15.0.0
-
public
OC\Support\CrashReport\Registry::delegateReport($exception, $context=[])¶ - Delegate crash reporting to all registered reporters
Source: Parameters: - $exception (
Exception|\Throwable) - $context (array)
- $exception (
-
public
OC\Support\CrashReport\Registry::delegateMessage($message, $context=[])¶ - Delegate a message to all reporters that implement IMessageReporter
Source: Parameters: - $message (string)
- $context (array)
Returns: void