Simple Class with log statements:

Invoke "Exchange logging framework":

Selection of source and target template:

Preview:

 Result:

 For more see the documentation on Actions:Exchange.

Joomla templates by a4joomla