Skip to content

Commit 11891de

Browse files
committed
Update Laravel log channels note
1 parent cf943e2 commit 11891de

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/platforms/php/guides/laravel/index.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,22 @@ return Application::configure(basePath: dirname(__DIR__))
4141
})
4242
->withExceptions(function (Exceptions $exceptions) {
4343
Integration::handles($exceptions);
44-
})->create();
44+
})
45+
->create();
4546
```
4647

47-
Alternatively, you can configure Sentry in your [Laravel Log Channel](usage/#log-channels), allowing you to log `info` and `debug` as well.
48+
Alternatively, you can configure Sentry as a [Laravel Log Channel](usage/#log-channels).
4849

4950
## Configure
5051

5152
Configure the Sentry DSN with this command:
5253

53-
5454
```shell
5555
php artisan sentry:publish --dsn=___PUBLIC_DSN___
5656
```
5757

5858
It creates the config file (`config/sentry.php`) and adds the `DSN` to your `.env` file.
5959

60-
6160
```shell {filename:.env}
6261
SENTRY_LARAVEL_DSN=___PUBLIC_DSN___
6362
```

0 commit comments

Comments
 (0)