Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
denisu committed Nov 5, 2024
1 parent d43157f commit f85827c
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 0 deletions.
90 changes: 90 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ futures-util = "0.3.31"
rand = "0.8.5"
tokio = "1.41.0"
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
trust-dns-server = "0.23.2"
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ struct Opt {

#[tokio::main]
async fn main() -> anyhow::Result<()> {
tracing_subscriber::fmt::init();

let opt = Opt::parse();
let tls = create_rustls_connector(&load_ssl_cert("wallet.crt", "wallet.key")?)?;

Expand Down

0 comments on commit f85827c

Please sign in to comment.