Flare is an error tracker for Laravel, but what do you do if you want notifications for other events which do not throw exceptions? You might wish to receive notifications for failing payments or other actions that users do in your application and that don't throw errors but where you want to know that they happen.
Since Ignition 1.9.0, Flare supports the collection of logs. You can check out the documentation for this feature here.
The default configuration for the log recording feature of Flare is the log level
error, and all logs that happen as Error, Emergency, and Critical trigger a notification instantly. The level for this is configurable at the config file within your application:
'flare' => [
'driver' => 'flare',
'level' => 'critical',
The feature itself can be enabled and disabled in the same file with the key:
Make sure to check our documentation and learn how you get the most out of your Flare subscription.