Fix crash when logging without passing exception data
Add functional tests for manual sending; logging + send; logging without sending