Nextcloud PHP API (stable19)

IRegistry

Tags
since
13.0.0

Table of Contents

delegateBreadcrumb()  : void
Delegate breadcrumb collection to all registered reporters
delegateMessage()  : void
Delegate a message to all reporters that implement IMessageReporter
delegateReport()  : mixed
Delegate crash reporting to all registered reporters
register()  : void
Register a reporter instance

Methods

delegateBreadcrumb()

Delegate breadcrumb collection to all registered reporters

public delegateBreadcrumb(string $message, string $category[, array $context = [] ]) : void
Parameters
$message : string
$category : string
$context : array = []
Tags
since
15.0.0

delegateMessage()

Delegate a message to all reporters that implement IMessageReporter

public delegateMessage(string $message[, array $context = [] ]) : void
Parameters
$message : string
$context : array = []
Tags
since
17.0.0

delegateReport()

Delegate crash reporting to all registered reporters

public delegateReport(Exception|Throwable $exception[, array $context = [] ]) : mixed
Parameters
$exception : Exception|Throwable
$context : array = []
Tags
since
13.0.0
Return values
mixed

register()

Register a reporter instance

public register(IReporter $reporter) : void
Parameters
$reporter : IReporter
Tags
since
13.0.0

Search results