Log trigger

Bishop

New member
I'm trying to log which trigger was activated. I can make if statement and assign per trigger but this is time consuming. Is there a way to log which trigger was activated?
 

MacroDroidDev

Administrator
Staff member
The system log already does this if that is any use?

If you want to log yourself then your suggested approach is the only way I'm afraid.
 

Bishop

New member
yeah, i wanted to have it logged in user logs, i could definitely see which trigger in the system log. ANyhow i guess its the long way. thanks a bunch.
 

FrameXX

Well-known member
You can't log it dynamically. Only via statically with constraint per action basis. But you could make use of magic text or variables that came with the trigger. For example, if I use battery percentage trigger, I can log the battery percentage to determine what trigger was fired.
 

Bishop

New member
thank you. i do hope Jaime can include it since the trigger is logged in the system logs.
I have several triggers in one macro and i want to track/log which triggers were triggered by saving it as log in the user log.
So now i just export the system log and sort it from there.
 

Bishop

New member
Hi again, in the last update, it now includes logging of trigger but i am having difficulty locating where it is. Can you point me in the right direction so i can test it in my macros. Thank you.
 

MacroDroidDev

Administrator
Staff member
I think maybe you misunderstand what this is. You are probably referring to the system log trigger which you can use to trigger macros based on what is written to the system log.
 
Top