Skip to content

Commit c163398

Browse files
committed
Add messages
1 parent 546c0a3 commit c163398

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

docs/collectors.md

+29-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Bootstraps the following collectors for Laravel:
3131
And the default collectors:
3232

3333
- PhpInfoCollector
34-
- MessagesCollector
34+
- [MessagesCollector](#messages-collector)
3535
- [TimeDataCollector](#timeline-collector) (With Booting and Application timing)
3636
- MemoryCollector
3737
- ExceptionsCollector
@@ -163,12 +163,18 @@ If you want to avoid any limits, you can set the option to `null`
163163

164164
### RouteCollector
165165

166+
<!-- md:version v1.0 -->
167+
<!-- md:feature collectors.route -->
168+
166169
This shows the current route and middleware.
167170

168171
![RouteCollector](img/route.png)
169172

170173
### Timeline Collector
171174

175+
<!-- md:version v1.0 -->
176+
<!-- md:feature collectors.time -->
177+
172178
![Timeline Collector](img/timeline.png)
173179

174180
```php
@@ -181,6 +187,9 @@ This shows the current route and middleware.
181187

182188
### ViewCollector
183189

190+
<!-- md:version v1.0 -->
191+
<!-- md:feature collectors.views -->
192+
184193
The ViewCollector shows views and has the following features:
185194

186195
- Show used templates and source
@@ -204,6 +213,25 @@ The ViewCollector shows views and has the following features:
204213
]
205214

206215
```
216+
217+
## Messages Collector
218+
219+
<!-- md:version v1.0 -->
220+
<!-- md:feature collectors.messages -->
221+
222+
The Message collectors gathers all messages from `debug()` calls and anything written to the logs.
223+
224+
You can pass multiple parameters to `debug()`, even complex object.
225+
226+
### Trace
227+
228+
When calling `debug()`, the source of the call is shown and can be opened with your IDE.
229+
230+
<!-- md:version v3.10.0 -->
231+
<!-- md:feature options.messages.trace -->
232+
233+
234+
![Messages Collector](img/messages.png)
207235
## Additional options
208236

209237
```php

docs/img/messages.png

175 KB
Loading

0 commit comments

Comments
 (0)