Added calling convention to logAssertion.