Log Action events
I'm looking for a way to log action events to an audit log. Is there any way I can do this without needing to implement it on every action? Or needing to remember to add the logic? I've tried using macro's in combination with Action::configureUsing, but this does not work for custom actions, as they have a different configureUsing.
I've searched but could not find out if Actions dispach events on success or fail. If this is the case, it would be much easier to implement
3 Replies
but this does not work for custom actions, as they have a different configureUsingYou are sure? They are based on the same classes
I'm continuing the conversation on another account (I asked this while pairing with a colleague).
I think you are right, I've made a wrong assumption on how the code works. Diving deeper shows that it should indeed work
@TVKVDS did you implement this?