added doLog function to ath, log option

hope you think this is a useful addition! i coded it up to help me figure out why i wasn't seeing any prompt in testing (turned out i had somehow been doing all my safari browsing in private mode!)