Skip to content

Commit 1cc5f62

Browse files
committed
browser-signer-proxy: add tracing subscriber for examples
Signed-off-by: Yuki Kishimoto <[email protected]>
1 parent c56dc3f commit 1cc5f62

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

signer/nostr-browser-signer-proxy/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ uuid = { version = "1.17", features = ["serde", "v4"] }
2626
[dev-dependencies]
2727
nostr = { workspace = true, features = ["nip59"] }
2828
tokio = { workspace = true, features = ["signal"] }
29+
tracing-subscriber = { workspace = true, features = ["env-filter"] }

signer/nostr-browser-signer-proxy/examples/browser-signer-proxy.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ use tokio::{signal, time};
99

1010
#[tokio::main]
1111
async fn main() -> Result<()> {
12+
tracing_subscriber::fmt::init();
13+
1214
let proxy = BrowserSignerProxy::new(BrowserSignerProxyOptions::default());
1315

1416
proxy.start().await?;

0 commit comments

Comments
 (0)