Support custom event log #41

Open
opened 2024-04-23 19:29:01 +00:00 by henryavila · 1 comment
henryavila commented 2024-04-23 19:29:01 +00:00 (Migrated from github.com)

HI, would be great if it can display custom events, the this in spatie/laravel-activitylog doc

activity()
   ->performedOn($anEloquentModel)
   ->causedBy($user)
   ->withProperties(['customProperty' => 'customValue'])
   ->log('Look mum, I logged something');
HI, would be great if it can display custom events, the this in `spatie/laravel-activitylog` doc ```php activity() ->performedOn($anEloquentModel) ->causedBy($user) ->withProperties(['customProperty' => 'customValue']) ->log('Look mum, I logged something'); ```
tombroucke commented 2024-10-01 14:56:04 +00:00 (Migrated from github.com)

You can just publish filament-activity-log-views, and make some changes in the view.
$activityItem->getExtraProperty('customProperty') will fetch your custom value

You can just publish `filament-activity-log-views`, and make some changes in the view. `$activityItem->getExtraProperty('customProperty')` will fetch your custom value
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pxlrbt/filament-activity-log#41
No description provided.