File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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/ ) .
You can’t perform that action at this time.
0 commit comments