IRegistry

interface OCP\Support\CrashReport\IRegistry
Implemented by:OC\Support\CrashReport\Registry
Source:lib/public/Support/CrashReport/IRegistry.php#37

Methods

public OCP\Support\CrashReport\IRegistry::register($reporter)
Register a reporter instance
Source:

lib/public/Support/CrashReport/IRegistry.php#48

Parameters:
Since:

13.0.0

Deprecated:

20.0.0 use IRegistrationContext::registerCrashReporter

See:

\OCP\Support\CrashReport\IRegistrationContext::registerCrashReporter()

public OCP\Support\CrashReport\IRegistry::delegateBreadcrumb($message, $category, $context=[])
Delegate breadcrumb collection to all registered reporters
Source:

lib/public/Support/CrashReport/IRegistry.php#60

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:

lib/public/Support/CrashReport/IRegistry.php#71

Parameters:
  • $exception (Exception | \Throwable)
  • $context (array)
Deprecated:

used internally only

Since:

13.0.0

public OCP\Support\CrashReport\IRegistry::delegateMessage($message, $context=[])
Delegate a message to all reporters that implement IMessageReporter
Source:

lib/public/Support/CrashReport/IRegistry.php#84

Parameters:
  • $message (string)
  • $context (array)
Returns:

void

Deprecated:

used internally only

Since:

17.0.0