Skip to content

Commit

Permalink
adding sc_tracing::loggin in sc-tracing feature
Browse files Browse the repository at this point in the history
  • Loading branch information
seemantaggarwal committed Feb 23, 2025
1 parent 41a860e commit 60f3a6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/parachain/node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ fn start_consensus(
}

/// Start a node with the given parachain `Configuration` and relay chain `Configuration`.
#[sc_tracing::logging::prefix_logs_with("Parachain")]
#[logging::prefix_logs_with("Parachain")]
pub async fn start_parachain_node(
parachain_config: Configuration,
polkadot_config: Configuration,
Expand Down
3 changes: 2 additions & 1 deletion umbrella/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1179,8 +1179,9 @@ pub use sc_sysinfo;
pub use sc_telemetry;

/// Instrumentation implementation for substrate.
#[cfg(feature = "node")]
#[cfg(feature = "sc-tracing")]
pub use sc_tracing;
pub use sc_tracing::logging;

/// Helper macros for Substrate's client CLI.
#[cfg(feature = "sc-tracing-proc-macro")]
Expand Down

0 comments on commit 60f3a6a

Please sign in to comment.