IRegistry¶
-
interface
OCP\Support\CrashReport\IRegistry¶ Implemented by: OC\Support\CrashReport\RegistrySource: lib/public/Support/CrashReport/IRegistry.php#37
Methods¶
-
public
OCP\Support\CrashReport\IRegistry::register($reporter)¶ - Register a reporter instance
Source: Parameters: - $reporter (
OCP\Support\CrashReport\IReporter)
Since: 13.0.0
Deprecated: 20.0.0 use IRegistrationContext::registerCrashReporter
See: \OCP\Support\CrashReport\IRegistrationContext::registerCrashReporter() - $reporter (
-
public
OCP\Support\CrashReport\IRegistry::delegateBreadcrumb($message, $category, $context=[])¶ - Delegate breadcrumb collection to all registered reporters
Source: Parameters: - $message (string)
- $category (string)
- $context (array)
Deprecated: used internally only
Since: 15.0.0
-
public
OCP\Support\CrashReport\IRegistry::delegateReport($exception, $context=[])¶ - Delegate crash reporting to all registered reporters
Source: Parameters: - $exception (
Exception|\Throwable) - $context (array)
Deprecated: used internally only
Since: 13.0.0
- $exception (
-
public
OCP\Support\CrashReport\IRegistry::delegateMessage($message, $context=[])¶ - Delegate a message to all reporters that implement IMessageReporter
Source: Parameters: - $message (string)
- $context (array)
Returns: void
Deprecated: used internally only
Since: 17.0.0