FEATURE #1400: add logging for custom fields

This commit is contained in:
Michal Kváček
2016-01-29 00:36:20 +01:00
parent 7054ce53b6
commit 4a8facc046
9 changed files with 213 additions and 0 deletions
+9
View File
@@ -19,6 +19,15 @@ class EventServiceProvider extends ServiceProvider
'App\Events\EditUser' => [
'App\Listeners\LogEditUser',
],
'App\Events\CreateNewCustomField' => [
'App\Listeners\LogCreateCustomField',
],
'App\Events\EditCustomField' => [
'App\Listeners\LogEditCustomField',
],
'App\Events\DeleteCustomField' => [
'App\Listeners\LogDeleteField',
],
// internal Laravel events - should work as auth.login and auth.logout, however it doesn't...
'Illuminate\Auth\Events\Login' => [
'App\Listeners\LogLogin'