]> _ Git - psq.git/commitdiff
Update DispatchMailgunEvent.php
authorLouis Jeckel <louis.jeckel@outlook.cm>
Mon, 7 Sep 2020 07:38:05 +0000 (09:38 +0200)
committerLouis Jeckel <louis.jeckel@outlook.cm>
Mon, 7 Sep 2020 07:38:05 +0000 (09:38 +0200)
app/Events/DispatchMailgunEvent.php

index 86177085f4b4275fe6e0c41975afb31a9bd73a0e..93c5f35738233c848f31d2525fb71e71737944e2 100644 (file)
@@ -54,7 +54,7 @@ class DispatchMailgunEvent implements ShouldBroadcast
         $this->broadcast = in_array(config('app.env'), $tags, true) &&
             ($event->wasRecentlyCreated);
 
-        \Log::info("broadcast : $this->broadcast");
+        \Log::info("broadcast : " . ($this->broadcast ? "yes" : "no") . " " . config('app.env') . ' | ' . implode(',', $tags) . " | " );
 
 
         $event->touch();