pub fn set_default_transport_logger(logger: Arc<dyn TransportLogger>)Expand description
Sets the process-wide default transport logger for outbound HTTP traffic.
Applies to subsequently created HttpClient values (those that do not set
their own via HttpClientBuilder::logger) and to the free
super::debug_log_reqwest_request / super::debug_log_reqwest_response
helpers used by code that talks to reqwest directly.
The CLI installs a logger from this setter when --debug selects the
transport component, so command handlers get request/response diagnostics
without any per-command wiring. A per-client logger still overrides it for
that client.