feat: enhance logging and dependency management with dotenvy and tracing-subscriber

This commit is contained in:
MythEclipse
2025-07-31 15:42:15 +07:00
parent 83e765f358
commit ac06224ed1
9 changed files with 123 additions and 31 deletions
+7 -2
View File
@@ -1,6 +1,11 @@
use tracing::{info};
use chrono::{DateTime, Utc};
/// Returns the current UTC date/time as an RFC3339 string.
pub fn get_iso_date() -> String {
let now: DateTime<Utc> = Utc::now();
now.to_rfc3339()
info!("get_iso_date called");
let now: DateTime<Utc> = Utc::now();
let date_str = now.to_rfc3339();
info!(date_str = %date_str, "get_iso_date returning RFC3339 date string");
date_str
}