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)

Report an error that Flarum was not able to handle to a backend.

Details

__construct(LoggerInterface $logger)

Parameters

LoggerInterface $logger

void report(Throwable $error)

Report an error that Flarum was not able to handle to a backend.

Parameters

Throwable $error

Return Value

void