Skip to content

Commit 78555d4

Browse files
Update log-and-debug.md
Co-authored-by: Keith Bush <[email protected]>
1 parent 1ff4514 commit 78555d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

log-and-debug.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ You can use the `\Illuminate\Support\Facades\Event::listen()` method on `boot()`
124124
(Example: `if ($event == 'Illuminate\\Log\\Events\\MessageLogged') return;`)
125125

126126
```php
127+
// Include Event...
128+
use Illuminate\Support\Facades\Event;
129+
130+
// In your EventServiceProvider class...
127131
public function boot()
128132
{
129133
parent::boot();

0 commit comments

Comments
 (0)