diff --git a/EventDispatch.php b/EventDispatch.php index af76dec..d9a49db 100644 --- a/EventDispatch.php +++ b/EventDispatch.php @@ -45,9 +45,9 @@ class EventDispatch extends Component implements EventDispatcherInterface try { $current = $lists->current(); if (is_array($current)) { - var_dump($current[0]::class, $current[1]); + $this->logger->alert($current[0]::class . '::' . $current[1]); } else if (is_string($current)) { - var_dump($current); + $this->logger->alert($current); } call_user_func($current, $event); } catch (\Throwable $exception) {