Skip to content

Commit

Permalink
feat: tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
Frando committed Dec 2, 2023
1 parent 1f6a794 commit 3ba0333
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 0 deletions.
68 changes: 68 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 @@ -22,3 +22,4 @@ quinn = "0.10.2"
serde = "1.0.193"
tokio = { version = "1.34.0", features = ["full"] }
tokio-util = "0.7.10"
tracing-subscriber = "0.3.18"
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ async fn connect(args: ConnectArgs) -> anyhow::Result<()> {

#[tokio::main]
async fn main() -> anyhow::Result<()> {
tracing_subscriber::fmt::init();
let args = Args::parse();
let res = match args.command {
Commands::Listen(args) => listen(args).await,
Expand Down

0 comments on commit 3ba0333

Please sign in to comment.