use log::info instead of print
This commit is contained in:
1 parent
aa9f5a1a42
commit
1d29f66cfc
1 file changed
+1
-1
+1
-1
@@ -289,7 +289,7 @@ async fn hot_reload_handler(
|
||||
Extension(state): Extension<Arc<HotReloadState>>,
|
||||
) -> impl IntoResponse {
|
||||
ws.on_upgrade(|mut socket| async move {
|
||||
println!("🔥 Hot Reload WebSocket is connected.");
|
||||
log::info!("🔥 Hot Reload WebSocket connected");
|
||||
let mut rx = state.messages.subscribe();
|
||||
loop {
|
||||
let read_set_rsx = rx.recv();
|
||||
|
||||
Reference in new issue
Block a user