25 public function handle(array $record)
27 if ($this->processors) {
28 foreach ($this->processors as $processor) {
29 $record = call_user_func($processor, $record);
33 foreach ($this->handlers as
$handler) {
36 }
catch (\Exception $e) {
38 }
catch (\Throwable $e) {
51 if ($this->processors) {
54 foreach ($this->processors as $processor) {
55 $processed[] = call_user_func($processor, $record);
61 foreach ($this->handlers as
$handler) {
64 }
catch (\Exception $e) {
66 }
catch (\Throwable $e) {
An exception for terminatinating execution or to throw for unit testing.
Forwards records to multiple handlers.
Forwards records to multiple handlers suppressing failures of each handler and continuing through to ...
handleBatch(array $records)
{{{Handles a set of records at once.}}}
handle(array $record)
{{Handles a record.All records may be passed to this method, and the handler should discard those tha...