Log multiples events

I’m current registering logs using just one provision but one preset per event giving the event as an argument, there is another way to get the event and use just one preset?

That how we do now:

Genieacs version: 1.2.9

I found the solution on Extract eventcode from inform request