mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-12-11 20:15:10 +01:00
log a little better
This commit is contained in:
parent
4f048e9476
commit
06e938fc62
@ -18,7 +18,9 @@ public class Client
|
|||||||
{
|
{
|
||||||
_transport.Log($"STATUS CHANGED for {t.m_info.m_szConnectionDescription}\n" +
|
_transport.Log($"STATUS CHANGED for {t.m_info.m_szConnectionDescription}\n" +
|
||||||
$" state = {t.m_info.m_eState}\n" +
|
$" state = {t.m_info.m_eState}\n" +
|
||||||
$"end = {(ESteamNetConnectionEnd)t.m_info.m_eEndReason} {t.m_info.m_szEndDebug}\n");
|
$" end = {(ESteamNetConnectionEnd)t.m_info.m_eEndReason} {t.m_info.m_szEndDebug}");
|
||||||
|
// SteamNetworkingSockets.GetDetailedConnectionStatus(t.m_hConn, out var status, 1000);
|
||||||
|
// _transport.Log(status);
|
||||||
|
|
||||||
switch (t.m_info.m_eState)
|
switch (t.m_info.m_eState)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -19,7 +19,9 @@ public class Server
|
|||||||
{
|
{
|
||||||
_transport.Log($"STATUS CHANGED for {t.m_info.m_szConnectionDescription}\n" +
|
_transport.Log($"STATUS CHANGED for {t.m_info.m_szConnectionDescription}\n" +
|
||||||
$" state = {t.m_info.m_eState}\n" +
|
$" state = {t.m_info.m_eState}\n" +
|
||||||
$"end = {(ESteamNetConnectionEnd)t.m_info.m_eEndReason} {t.m_info.m_szEndDebug}\n");
|
$" end = {(ESteamNetConnectionEnd)t.m_info.m_eEndReason} {t.m_info.m_szEndDebug}");
|
||||||
|
// SteamNetworkingSockets.GetDetailedConnectionStatus(t.m_hConn, out var status, 1000);
|
||||||
|
// _transport.Log(status);
|
||||||
|
|
||||||
switch (t.m_info.m_eState)
|
switch (t.m_info.m_eState)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user