Console commands
Flare can collect information about the console commands that are being executed. Whether an error happens during a command or you want to trace a long-running command, Flare will collect the following information:
- The command name
- The command arguments
- The exit code
This functionality is enabled by default, but you can disable it by ignoring the Commands
collect in config.php
:
use Spatie\FlareClient\Enums\CollectType;
'collects' => FlareConfig::defaultCollects(
ignore: [CollectType::Commands],
),