mirror of
https://git.citron-emu.org/Citron/Citron.git
synced 2025-02-07 08:46:25 +01:00
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:
parent
b94978b6e4
commit
4c8033d156
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ import androidx.preference.PreferenceManager
|
||||||
import org.citron.citron_emu.CitronApplication
|
import org.citron.citron_emu.CitronApplication
|
||||||
import org.citron.citron_emu.R
|
import org.citron.citron_emu.R
|
||||||
import org.citron.citron_emu.dialogs.ChatMessage
|
import org.citron.citron_emu.dialogs.ChatMessage
|
||||||
|
import android.util.Log
|
||||||
|
|
||||||
object NetPlayManager {
|
object NetPlayManager {
|
||||||
external fun netPlayCreateRoom(ipAddress: String, port: Int, username: String, password: String, roomName: String, maxPlayers: Int): Int
|
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> {
|
fun getBanList(): List<String> {
|
||||||
Log.info("Netplay Ban ${netPlayGetBanList()}.toList()")
|
Log.i("NetPlayManager", "Netplay Ban ${netPlayGetBanList().toList()}")
|
||||||
return netPlayGetBanList().toList()
|
return netPlayGetBanList().toList()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue