eos: very verbose logging

This commit is contained in:
JohnCorby 2022-04-03 21:52:05 -07:00
parent 67f390a7ef
commit b92d004bc7
2 changed files with 3 additions and 4 deletions

View File

@ -40,7 +40,7 @@ public class EOSSDKComponent : MonoBehaviour
public LogLevel epicLoggerLevel = LogLevel.Error;
[SerializeField]
public bool collectPlayerMetrics = true;
private bool collectPlayerMetrics = true;
public static bool CollectPlayerMetrics => Instance.collectPlayerMetrics;
@ -461,4 +461,4 @@ public class EOSSDKComponent : MonoBehaviour
}
#endif
}
}
}

View File

@ -83,8 +83,7 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
var eosSdkComponent = gameObject.AddComponent<EOSSDKComponent>();
eosSdkComponent.apiKeys = eosApiKey;
eosSdkComponent.epicLoggerLevel = LogLevel.Info;
eosSdkComponent.collectPlayerMetrics = false;
eosSdkComponent.epicLoggerLevel = LogLevel.VeryVerbose;
var eosTransport = gameObject.AddComponent<EosTransport>();
eosTransport.SetTransportError = error => _lastTransportError = error;