log what state the toggle is in