Skip to content

Commit e22b1b8

Browse files
committed
Add tracing
1 parent 7b55fd6 commit e22b1b8

File tree

3 files changed

+106
-3
lines changed

3 files changed

+106
-3
lines changed

Cargo.lock

Lines changed: 102 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,5 @@ serde_with = { version = "3.12.0", default-features = false, features = [
5757
] }
5858
tokio = { version = "1.43.0", features = ["rt-multi-thread", "macros", "fs"] }
5959
toml_edit = { version = "0.22.22", features = ["serde"] }
60+
tracing = "0.1.41"
61+
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "tracing-log"] }

src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ impl Display for ProjectType {
9696

9797
#[tokio::main]
9898
async fn main() -> Result<()> {
99+
tracing_subscriber::fmt::init();
100+
99101
let Args { command } = Args::parse();
100102

101103
let client = Client::new()?;

0 commit comments

Comments
 (0)