Skip to content

Commit 984e0b3

Browse files
committed
Update changelog
1 parent c28dbb4 commit 984e0b3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ The Sentry SDK team is happy to announce the immediate availability of Sentry La
88

99
- Add support for Sentry Structured Logs [(#1000)](https://github.com/getsentry/sentry-laravel/pull/1000)
1010

11-
1211
To enable this feature, add the `sentry_logs` log channel in your `config/logging.php` configuration:
1312

1413
```php
1514
'channels' => [
1615
...
17-
'sentry' => [
16+
'sentry_logs' => [
1817
'driver' => 'sentry_logs',
1918
'level' => env('LOG_LEVEL', 'info'),
2019
],
@@ -29,7 +28,7 @@ The Sentry SDK team is happy to announce the immediate availability of Sentry La
2928
```php
3029
use Illuminate\Support\Facades\Log;
3130

32-
Log::channel('sentry')->info('User {id} failed to login.', ['id' => $user->id]);
31+
Log::channel('sentry_logs')->info('User {id} failed to login.', ['id' => $user->id]);
3332
```
3433

3534
To learn more, head over to our [docs](https://docs.sentry.io/platforms/php/guides/laravel/logs/).

0 commit comments

Comments
 (0)