|
3 | 3 | use Spatie\Ignition\Solutions\SolutionProviders\BadMethodCallSolutionProvider;
|
4 | 4 | use Spatie\Ignition\Solutions\SolutionProviders\MergeConflictSolutionProvider;
|
5 | 5 | use Spatie\Ignition\Solutions\SolutionProviders\UndefinedPropertySolutionProvider;
|
| 6 | +use Spatie\LaravelIgnition\Recorders\DumpRecorder\DumpRecorder; |
| 7 | +use Spatie\LaravelIgnition\Recorders\JobRecorder\JobRecorder; |
| 8 | +use Spatie\LaravelIgnition\Recorders\LogRecorder\LogRecorder; |
| 9 | +use Spatie\LaravelIgnition\Recorders\QueryRecorder\QueryRecorder; |
6 | 10 | use Spatie\LaravelIgnition\Solutions\SolutionProviders\DefaultDbNameSolutionProvider;
|
7 | 11 | use Spatie\LaravelIgnition\Solutions\SolutionProviders\GenericLaravelExceptionSolutionProvider;
|
8 | 12 | use Spatie\LaravelIgnition\Solutions\SolutionProviders\IncorrectValetDbCredentialsSolutionProvider;
|
|
211 | 215 |
|
212 | 216 | 'settings_file_path' => '',
|
213 | 217 |
|
214 |
| - 'should_record' => env( |
215 |
| - 'IGNITION_RECORD', |
216 |
| - env('APP_DEBUG', true) && env('APP_ENV', 'local') != 'production' |
217 |
| - ), |
218 |
| - |
| 218 | + /* |
| 219 | + |-------------------------------------------------------------------------- |
| 220 | + | Recorders |
| 221 | + |-------------------------------------------------------------------------- |
| 222 | + | |
| 223 | + | Ignition registers a couple of recorders when it is enabled. Below you may |
| 224 | + | specify a recorders will be used to record specific events. |
| 225 | + | |
| 226 | + */ |
| 227 | + |
219 | 228 | 'recorders' => [
|
220 |
| - 'jobs' => env('IGNITION_RECORD_JOBS', true), |
221 |
| - 'dumps' => env('IGNITION_RECORD_DUMPS', true), |
222 |
| - 'logs' => env('IGNITION_RECORD_LOGS', true), |
223 |
| - 'queries' => env('IGNITION_RECORD_QUERIES', true) |
| 229 | + DumpRecorder::class, |
| 230 | + JobRecorder::class, |
| 231 | + LogRecorder::class, |
| 232 | + QueryRecorder::class |
224 | 233 | ]
|
225 |
| - |
226 | 234 | ];
|
0 commit comments