<?php namespace Spatie\LaravelIgnition\FlareMiddleware; use Spatie\FlareClient\FlareMiddleware\FlareMiddleware; use Spatie\FlareClient\Report; use Spatie\LaravelIgnition\Recorders\LogRecorder\LogRecorder; class AddLogs implements FlareMiddleware { protected LogRecorder $logRecorder; public function __construct() { $this->logRecorder = app(LogRecorder::class); } public function handle(Report $report, $next) { $report->group('logs', $this->logRecorder->getLogMessages()); return $next($report); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
AddDumps.php | File | 608 B | 0644 |
|
AddEnvironmentInformation.php | File | 757 B | 0644 |
|
AddExceptionInformation.php | File | 1.14 KB | 0644 |
|
AddJobs.php | File | 617 B | 0644 |
|
AddLogs.php | File | 583 B | 0644 |
|
AddNotifierName.php | File | 417 B | 0644 |
|
AddQueries.php | File | 515 B | 0644 |
|