summaryrefslogtreecommitdiff
path: root/rust-src/src/key.rs
diff options
context:
space:
mode:
authorTruongSinh Tran-Nguyen <i@truongsinh.pro>2023-04-26 12:50:16 -0700
committerKent Overstreet <kent.overstreet@linux.dev>2023-04-26 17:46:23 -0400
commit47ec3ed6edb90c1117d0c79c382f03a3ed87c5ca (patch)
tree2aae100d0d553104b8276e8785865a7fc7b84991 /rust-src/src/key.rs
parent4f6b28f54f09ee4498466d39cf550faeedd5614a (diff)
chore: logger for idiomatic style and expanded logging levels
Improve the Rust logger by adhering to idiomatic Rust conventions and incorporating additional logging levels: warn, debug, and trace. Signed-off-by: TruongSinh Tran-Nguyen <i@truongsinh.pro>
Diffstat (limited to 'rust-src/src/key.rs')
-rw-r--r--rust-src/src/key.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/rust-src/src/key.rs b/rust-src/src/key.rs
index abea5844..2af34b13 100644
--- a/rust-src/src/key.rs
+++ b/rust-src/src/key.rs
@@ -1,6 +1,5 @@
-use bch_bindgen::info;
+use log::{info};
use bch_bindgen::bcachefs::bch_sb_handle;
-use colored::Colorize;
use crate::c_str;
use anyhow::anyhow;