Simple Class:
Select a variable and invoke task "Log this variable":
Result (immediately without preview):
For more see the documentation on Actions:Insertions.