We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e421545 commit ef631e1Copy full SHA for ef631e1
src/config/models.rs
@@ -1,3 +1,4 @@
1
+use log::debug;
2
use serde::{Deserialize, Serialize};
3
use std::fs;
4
use std::path::PathBuf;
@@ -43,7 +44,7 @@ fn get_config(config_path: &PathBuf) -> AppConfig {
43
44
match fs::read_to_string(config_path) {
45
Ok(content) => match serde_yaml::from_str(&content) {
46
Ok(config) => {
- println!("Configuration loaded and merged from: {:?}", config_path);
47
+ debug!("Configuration loaded and merged from: {:?}", config_path);
48
config
49
},
50
Err(e) => {
@@ -90,7 +91,7 @@ pub fn load_config() -> AppConfig {
90
91
92
};
93
- println!("config_path: {:?}", config_path);
94
+ log::debug!("config_path: {:?}", config_path);
95
96
config_path.push("pipe-gpt");
97
config_path.push("config.yaml");
0 commit comments