public void SetRemoteSettings(GamebaseResponse.Launching.LaunchingInfo launchingInfo) { if (launchingInfo == null || launchingInfo.launching == null || launchingInfo.launching.tcgbClient == null) { return; } var forceRemoteSettings = launchingInfo.launching.tcgbClient.forceRemoteSettings; if (forceRemoteSettings != null) { GamebaseLog.Debug(GamebaseJsonUtil.ToPrettyJsonString(forceRemoteSettings), this); logSetting.Initialize(forceRemoteSettings.log.policy, forceRemoteSettings.log.indicator); GamebaseLog.SetDebugLog(logSetting.IsDebugMode(isDebugMode)); GamebaseLogReport.Instance.Initialize( logSetting.IsIndicatorMode(), forceRemoteSettings.log.appKeyIndicator, forceRemoteSettings.log.appKeyLog); } else { GamebaseLog.Debug("ForceRemoteSettings is null", this); } }
public void SetDebugMode(bool isDebugMode) { IsDebugMode = isDebugMode; GamebaseLog.SetDebugLog(logSetting.IsDebugMode(isDebugMode)); }