F
Filament17mo ago
TVKVDS

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
Dennis Koch
Dennis Koch17mo ago
but this does not work for custom actions, as they have a different configureUsing
You are sure? They are based on the same classes
bwubs
bwubs17mo ago
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
noahlocke
noahlocke6mo ago
@TVKVDS did you implement this?
Want results from more Discord servers?
Add your server