diff --git a/platform-includes/logs/usage/php.laravel.mdx b/platform-includes/logs/usage/php.laravel.mdx index 13e39224b1ab8..38de3765ccc1b 100644 --- a/platform-includes/logs/usage/php.laravel.mdx +++ b/platform-includes/logs/usage/php.laravel.mdx @@ -9,7 +9,7 @@ Log::warning('User {id} failed to login.', ['id' => $user->id]); Log::error('This is an error message'); // Log directly to the Sentry channel -Log::channel('sentry')->error('This will only go to Sentry'); +Log::channel('sentry_logs')->error('This will only go to Sentry'); ``` You can pass additional attributes directly to the logging functions. These properties will be sent to Sentry, and can be searched from within the Logs UI, and even added to the Logs views as a dedicated column.