File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ class RequestProcessor extends AbstractProcessor
1010{
1111 public function __invoke (array $ record ) : array
1212 {
13- if (!$ this ->isWrite ($ record ['level_name ' ]) || !Config::isEnabledValue ('request ' )) {
13+ if (!$ this ->isWrite ($ record ['level_name ' ]) ||
14+ !Config::isEnabledValue ('request.base_info ' ) ||
15+ !Config::isEnabledValue ('request.header ' ) ||
16+ !Config::isEnabledValue ('request.body ' )) {
1417 return $ record ;
1518 }
1619
Original file line number Diff line number Diff line change 11<?php
22return [
3+ // stack output when an error occurs2
34 'stacktrace ' => true ,
5+
6+ // memory peak at runtime
47 'memoryPeak ' => true ,
8+
9+ // information about the current branch and commit
510 'git ' => true ,
11+
12+ // php info (version)
613 'phpinfo ' => true ,
7- 'route ' => true ,
814
15+ // Output of additional information in the format JSON_PRETTY_PRINT
916 'json_format ' => true ,
1017
18+
1119 'request ' => [
1220 'base_info ' => true ,
1321 'header ' => true ,
2028 'route ' => true ,
2129 'queue ' => true ,
2230 ],
31+
32+ // levels for which you want to display
2333 'levels ' => [
2434 'ERROR ' ,
2535 'EMERGENCY '
You can’t perform that action at this time.
0 commit comments