Fixed missing ';' after LogObject call.

Thanks to Florian Edlhuber.