message: [network] Convert to structured logs for NetworkBuilder
diff: @@ -23,6 +23,7 @@ use libra_types::{chain_id::ChainId, PeerId};
  use network::{
  connectivity_manager::{builder::ConnectivityManagerBuilder, ConnectivityRequest},
  constants,
  + logging::NetworkSchema,
  peer_manager::{
  builder::{AuthenticationMode, PeerManagerBuilder},
  conn_notifs_channel, ConnectionRequestSender,
  @@ -420,7 +421,10 @@ impl NetworkBuilder {
  fn build_gossip_discovery(&mut self) -> &mut Self {
  if let Some(discovery_builder) = self.discovery_builder.as_mut() {
  discovery_builder.build(self.executor.as_mut().expect("Executor must exist"));
  - debug!("{} Built Gossip Discovery", self.network_context());
  + debug!(
  + NetworkSchema::new(&self.network_context),
  + "{} Built Gossip Discovery", self.network_context
  + );
  }
  self
  }
  @@ -428,7 +432,10 @@ impl NetworkBuilder {
  fn start_gossip_discovery(&mut self) -> &mut Self {
  if let Some(discovery_builder) = self.discovery_builder.as_mut() {
  discovery_builder.start(self.executor.as_mut().expect("Executor must exist"));
  - debug!("{} Started gossip discovery", self.network_context());
  + debug!(
  + NetworkSchema::new(&self.network_context),
  + "{} Started gossip discovery", self.network_context
  + );
  }
  self
  }
  @@ -453,7 +460,10 @@ impl NetworkBuilder {
  hc_network_tx,
  hc_network_rx,
  ));
  - debug!("{} Created health checker", self.network_context);
  + debug!(
  + NetworkSchema::new(&self.network_context),
  + "{} Created health checker", self.network_context
  + );
  self
  }
  @@ -461,7 +471,10 @@ impl NetworkBuilder {
  fn build_connection_monitoring(&mut self) -> &mut Self {
  if let Some(health_checker) = self.health_checker_builder.as_mut() {
  health_checker.build(self.executor.as_mut().expect("Executor must exist"));
  - debug!("{} Built health checker", self.network_context);
  + debug!(
  + NetworkSchema::new(&self.network_context),
  + "{} Built health checker", self.network_context
  + );
  };
  self
  }
  @@ -470,7 +483,10 @@ impl NetworkBuilder {
  fn start_connection_monitoring(&mut self) -> &mut Self {
  if let Some(health_checker) = self.health_checker_builder.as_mut() {
  health_checker.start(self.executor.as_mut().expect("Executor must exist"));
  - debug!("{} Started health checker", self.network_context);
  + debug!(
  + NetworkSchema::new(&self.network_context),
  + "{} Started health checker", self.network_context
  + );
  };
  self
  }
  