diff --git a/src/functions-templates/rust/hello-world/src/main.rs b/src/functions-templates/rust/hello-world/src/main.rs index f8987cb9c03..e83fe20e1b2 100644 --- a/src/functions-templates/rust/hello-world/src/main.rs +++ b/src/functions-templates/rust/hello-world/src/main.rs @@ -7,7 +7,7 @@ use simple_logger::SimpleLogger; #[tokio::main] async fn main() -> Result<(), Error> { - SimpleLogger::new().with_level(LevelFilter::Info).init().unwrap(); + SimpleLogger::new().with_utc_timestamps().with_level(LevelFilter::Info).init().unwrap(); let func = handler_fn(my_handler); lambda_runtime::run(func).await?; @@ -26,4 +26,4 @@ pub(crate) async fn my_handler(event: ApiGatewayProxyRequest, _ctx: Context) -> }; Ok(resp) -} \ No newline at end of file +}