cleanup logging messages

This commit is contained in:
ppc
2026-01-07 20:01:01 +00:00
parent c1876cf4bf
commit d7a5911e64
+3 -4
View File
@@ -117,7 +117,7 @@ pub extern "C" fn aime_io_nfc_get_aime_id(unit_no: u8, luid: *mut u8, luid_size:
std::ptr::copy_nonoverlapping(card.access_code.as_ptr(), luid, copy_size);
}
info!("Provided AIME access code: {}", utils::format_hex_bytes(&card.access_code));
info!("Provided access code: {}", utils::format_hex_bytes(&card.access_code));
return 0;
}
@@ -144,7 +144,7 @@ pub extern "C" fn aime_io_nfc_get_felica_id(unit_no: u8, idm: *mut u64) -> i32 {
*idm = idm_value;
}
info!("Provided AIME IDm: {}", utils::format_hex_bytes(&card_idm));
info!("Provided IDm: {}", utils::format_hex_bytes(&card_idm));
return 0;
}
@@ -183,8 +183,7 @@ async fn start_server_async() {
let game_id = config.game_id.clone().unwrap_or_else(|| "SXXX".to_string());
info!("AMNet Server - Version {} ({}) loaded", env!("CARGO_PKG_VERSION"), game_id);
info!("Listening on {}", listen_addr);
info!("Visit http://card.ppc.moe from a mobile device or use the AMNet App to get started.");
info!("Listening on {} - visit http://card.ppc.moe from a mobile device or use the AMNet App to get started.", listen_addr);
axum::serve(listener, app)
.await