This adds a new config variable called panel_id (defaults to admin) which will allow a developer to specify which panel the logs will be shown on.
Currently the panel_id is hardcoded to the default of admin, this means if you are not using the admin panel then you are unable to use this plugin as it looks for the admin panel by id.
In my use case, I use Filament as the entire application and there is no specific admin area, so it makes sense for me to use a different ID other than admin.
I appreciate your time reviewing this PR, the plugin does exactly what I need with this simple config fix.
Fixes #1
This adds a new config variable called
panel_id
(defaults to admin) which will allow a developer to specify which panel the logs will be shown on.Currently the panel_id is hardcoded to the default of
admin
, this means if you are not using the admin panel then you are unable to use this plugin as it looks for the admin panel by id.In my use case, I use Filament as the entire application and there is no specific admin area, so it makes sense for me to use a different ID other than admin.
I appreciate your time reviewing this PR, the plugin does exactly what I need with this simple config fix.