prefix parachain log targets with parachain:: (#2600)

* prefix parachain log targets with parachain::

* even more consistent
This commit is contained in:
Andronik Ordian
2021-03-10 17:07:56 +01:00
committed by GitHub
parent 956be35dd4
commit baa691deb1
26 changed files with 29 additions and 26 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ const MALFORMED_VIEW_COST: Rep = Rep::CostMajor("Malformed view");
const EMPTY_VIEW_COST: Rep = Rep::CostMajor("Peer sent us an empty view");
// network bridge log target
const LOG_TARGET: &'static str = "network_bridge";
const LOG_TARGET: &'static str = "parachain::network-bridge";
/// Messages from and to the network.
///
@@ -30,7 +30,7 @@ use polkadot_node_network_protocol::PeerId;
use polkadot_primitives::v1::{AuthorityDiscoveryId, Block, Hash};
use polkadot_node_network_protocol::peer_set::{PeerSet, PerPeerSet};
const LOG_TARGET: &str = "validator_discovery";
const LOG_TARGET: &str = "parachain::validator-discovery";
/// An abstraction over networking for the purposes of validator discovery service.
#[async_trait]