[tor-commits] [tor/master] Add a new inline function to check whether debug logging is on