Based on #36969, only the last commit is new. Draft to see if this direction is wanted. This also came out of discussions in #36759:
The manual_connection flag of ConnectDirectly() only picks the log level of a failed connect(). Callers that are not manual peers, like Tor control, pass true just to get the failure logged, and the caller that knows how much a failure matters never sees the reason.
This removes the flag. ConnectDirectly() returns the failure reason and each caller decides how to log it. The log output stays the same, except that manual peers and Tor control now log every failure reason at info level, including timeouts, which were debug only.