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:

lib/private/Support/CrashReport/Registry.php#63

Parameters:
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:

lib/private/Support/CrashReport/Registry.php#80

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:

lib/private/Support/CrashReport/Registry.php#96

Parameters:
  • $exception (Exception | \Throwable)
  • $context (array)
public OC\Support\CrashReport\Registry::delegateMessage($message, $context=[])
Delegate a message to all reporters that implement IMessageReporter
Source:

lib/private/Support/CrashReport/Registry.php#112

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

void