Skip to content

Commit

Permalink
feat(logging): print server time to log
Browse files Browse the repository at this point in the history
  • Loading branch information
RouHim committed Oct 31, 2023
1 parent e0305f9 commit f69ff15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ async fn main() -> std::io::Result<()> {
env!("CARGO_PKG_VERSION")
);

// Print system date and time
info!("📅 System time: {}", chrono::Local::now().format("%Y-%m-%d %H:%M:%S"));

// Create a new resource reader based on the provided resources path
let resource_reader = resource_reader::new(
env::var("RESOURCE_PATHS")
Expand Down

0 comments on commit f69ff15

Please sign in to comment.