class LogReporter implements Reporter

Log caught exceptions to a PSR-3 logger instance.

Properties

protected LoggerInterface $logger

Methods

__construct(LoggerInterface $logger)

No description

void
report(Throwable $error)

<p>Report an error that Flarum was not able to handle to a backend.</p>

Details

__construct(LoggerInterface $logger)

Parameters

LoggerInterface $logger

void report(Throwable $error)

<p>Report an error that Flarum was not able to handle to a backend.</p>

Parameters

Throwable $error

Return Value

void