Fast Forward Deferred Callbacks utility classes

LogDeferredCallbackFailure
in package

Read onlyYes
FinalYes

Listener that logs failed deferred callback executions using a PSR-3 compatible logger.

This listener MUST be used to log all deferred callback failures. It SHALL log detailed information about the exception, callback, and arguments. This class MUST NOT throw exceptions during logging.

Table of Contents

Properties

$logger  : LoggerInterface

Methods

__construct()  : mixed
Constructs a new LogDeferredCallbackFailure listener.
__invoke()  : void
Handles the DeferredCallbackFailed event by logging the failure.

Properties

Methods

__construct()

Constructs a new LogDeferredCallbackFailure listener.

public __construct(LoggerInterface $logger) : mixed
Parameters
$logger : LoggerInterface

the PSR-3 logger to use for logging failures


        
On this page

Search results