Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
4.15.0 source code.tar.gz | 2025-06-12 | 56.8 kB | |
4.15.0 source code.zip | 2025-06-12 | 93.4 kB | |
README.md | 2025-06-12 | 849 Bytes | |
Totals: 3 Items | 151.1 kB | 0 |
The Sentry SDK team is happy to announce the immediate availability of Sentry Laravel SDK v4.15.0.
Features
- Add support for Sentry Structured Logs (#1000)
To enable this feature, add the sentry_logs
log channel in your config/logging.php
configuration:
php
'channels' => [
...
'sentry' => [
'driver' => 'sentry_logs',
'level' => env('LOG_LEVEL', 'info'),
],
...
],
Add SENTRY_ENABLE_LOGS=true
to your .env
file.
Use the Log facade to sent your logs to Sentry. To learn more, head over to the Laravel docs.
```php use Illuminate\Support\Facades\Log;
Log::driver('sentry')->info('User {id} failed to login.', ['id' => $user->id]); ```