Is there any activity/ method to get the Macro Execution logs in uipath

i’m running macro file using “Execute Macro” activity but i wanted to take the logs of Macro script Execution, like i need a kind of document that every step the macro performed , anyone help with this…

There are two ways

  1. You can implement the Writing log Logic inside your macro, save it in text file, Call a function which writes the log file where ever required.
  2. You can append the Logs to a variable and send it as MacroOutput.