Testing code to listen to a button click; output to log