android: Fix logging method in NetPlayManager

Changed Log.info() to Log.i() to use correct Android logging method.
Also improved log message formatting and added tag for better filtering.
This commit is contained in:
Zephyron 2025-01-30 16:44:39 +10:00
parent b94978b6e4
commit 4c8033d156
No known key found for this signature in database
GPG key ID: 2177ADED8AC966AF

View file

@ -15,6 +15,7 @@ import androidx.preference.PreferenceManager
import org.citron.citron_emu.CitronApplication
import org.citron.citron_emu.R
import org.citron.citron_emu.dialogs.ChatMessage
import android.util.Log
object NetPlayManager {
external fun netPlayCreateRoom(ipAddress: String, port: Int, username: String, password: String, roomName: String, maxPlayers: Int): Int
@ -191,7 +192,7 @@ object NetPlayManager {
}
fun getBanList(): List<String> {
Log.info("Netplay Ban ${netPlayGetBanList()}.toList()")
Log.i("NetPlayManager", "Netplay Ban ${netPlayGetBanList().toList()}")
return netPlayGetBanList().toList()
}