You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/php/guides/laravel/logs/index.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,8 @@ With Sentry Structured Logs, you can send text-based log information from your L
31
31
32
32
If your logs are not appearing in Sentry, check or test the following:
33
33
34
+
If you are testing in Tinker (`php artisan tinker`), make sure to call `\Sentry\logger()->flush();` manually to send Logs to Sentry as it does not trigger automatically.
35
+
34
36
Check your `config/logging.php` and ensure the default log channel and stack channel allow configuration using environment variables:
0 commit comments