aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index c3fd598..4561e2f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,4 +1,5 @@
use clap::Parser;
+use tklog::{Async::Log, LogOption, LOG};
#[derive(Parser, Debug)]
#[command(name = "mt")]
@@ -9,5 +10,6 @@ struct Args {
fn main() {
let args = Args::parse();
- println!("Hello from CLI, {}!", args.name);
+ let log = Log::new();
+ tklog::info!(&format!("Hello from CLI, {}!", args.name));
}