|
68 | 68 |
|
69 | 69 | /* |
70 | 70 | |-------------------------------------------------------------------------- |
71 | | - | Collector configuration. |
| 71 | + | List of collectors. |
72 | 72 | |-------------------------------------------------------------------------- |
73 | 73 | | |
74 | | - | Responsible for collecting and transforming the exception data. |
| 74 | + | Responsible for collecting the exception data. |
75 | 75 | | |
76 | 76 | */ |
77 | 77 | 'collector' => [ |
78 | | - // List of collectors |
79 | | - 'class' => [ |
80 | | - \Guanguans\LaravelExceptionNotify\Collectors\LaravelCollector::class, |
81 | | - \Guanguans\LaravelExceptionNotify\Collectors\AnnexCollector::class, |
82 | | - \Guanguans\LaravelExceptionNotify\Collectors\PhpInfoCollector::class, |
83 | | - \Guanguans\LaravelExceptionNotify\Collectors\ExceptionBasicCollector::class, |
84 | | - \Guanguans\LaravelExceptionNotify\Collectors\ExceptionTraceCollector::class, |
85 | | - \Guanguans\LaravelExceptionNotify\Collectors\RequestBasicCollector::class, |
86 | | - \Guanguans\LaravelExceptionNotify\Collectors\RequestHeaderCollector::class, |
87 | | - \Guanguans\LaravelExceptionNotify\Collectors\RequestQueryCollector::class, |
88 | | - \Guanguans\LaravelExceptionNotify\Collectors\RequestPostCollector::class, |
89 | | - \Guanguans\LaravelExceptionNotify\Collectors\RequestFileCollector::class, |
90 | | - // \Guanguans\LaravelExceptionNotify\Collectors\RequestMiddlewareCollector::class, |
91 | | - // \Guanguans\LaravelExceptionNotify\Collectors\RequestServerCollector::class, |
92 | | - // \Guanguans\LaravelExceptionNotify\Collectors\RequestCookieCollector::class, |
93 | | - // \Guanguans\LaravelExceptionNotify\Collectors\RequestSessionCollector::class, |
94 | | - ], |
95 | | - // The transformer is used to transformer collectors to reports. |
96 | | - 'transformer' => \Guanguans\LaravelExceptionNotify\CollectorTransformer::class, |
| 78 | + \Guanguans\LaravelExceptionNotify\Collectors\LaravelCollector::class, |
| 79 | + \Guanguans\LaravelExceptionNotify\Collectors\AnnexCollector::class, |
| 80 | + \Guanguans\LaravelExceptionNotify\Collectors\PhpInfoCollector::class, |
| 81 | + \Guanguans\LaravelExceptionNotify\Collectors\ExceptionBasicCollector::class, |
| 82 | + \Guanguans\LaravelExceptionNotify\Collectors\ExceptionTraceCollector::class, |
| 83 | + \Guanguans\LaravelExceptionNotify\Collectors\RequestBasicCollector::class, |
| 84 | + \Guanguans\LaravelExceptionNotify\Collectors\RequestHeaderCollector::class, |
| 85 | + \Guanguans\LaravelExceptionNotify\Collectors\RequestQueryCollector::class, |
| 86 | + \Guanguans\LaravelExceptionNotify\Collectors\RequestPostCollector::class, |
| 87 | + \Guanguans\LaravelExceptionNotify\Collectors\RequestFileCollector::class, |
| 88 | + // \Guanguans\LaravelExceptionNotify\Collectors\RequestMiddlewareCollector::class, |
| 89 | + // \Guanguans\LaravelExceptionNotify\Collectors\RequestServerCollector::class, |
| 90 | + // \Guanguans\LaravelExceptionNotify\Collectors\RequestCookieCollector::class, |
| 91 | + // \Guanguans\LaravelExceptionNotify\Collectors\RequestSessionCollector::class, |
97 | 92 | ], |
98 | 93 |
|
99 | 94 | /* |
|
0 commit comments