Fixed logging of composite objects.
Merge pull request #13 from szilardhuber/fix-156

Fix #156: Improved logging of composite expressions.