IRegistry
Tags
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
delegateMessage()
Delegate a message to all reporters that implement IMessageReporter
public
delegateMessage(string $message[, array $context = [] ]) : void
Parameters
- $message : string
- $context : array = []
Tags
delegateReport()
Delegate crash reporting to all registered reporters
public
delegateReport(Exception|Throwable $exception[, array $context = [] ]) : mixed
Parameters
- $exception : Exception|Throwable
- $context : array = []
Tags
Return values
mixed —register()
Register a reporter instance
public
register(IReporter $reporter) : void
Parameters
- $reporter : IReporter