private void SpatialCloudSession_LogDebug(object sender, OnLogDebugEventArgs e) { if (string.IsNullOrWhiteSpace(e.Message)) { return; } Debug.WriteLine(e.Message); this.OnLogDebug?.Invoke(sender, e); }
private void CloudManager_LogDebug(object sender, OnLogDebugEventArgs args) { Debug.Log(args.Message); }
private void CloudSpatialAnchorSession_OnLogDebug(object sender, OnLogDebugEventArgs args) { OnLogDebug?.Invoke(sender, args); Debug.Log("CloudSpatialAnchorSession_OnLogDebug " + args.Message); }
/// <summary> /// Called when the <see cref="Session"/> <see cref="CloudSpatialAnchorSession.LogDebug">LogDebug</see> event is fired. /// </summary> /// <param name="sender"> /// The <see cref="Session"/>. /// </param> /// <param name="args"> /// The event data. /// </param> protected virtual void OnLogDebug(object sender, OnLogDebugEventArgs args) { LogDebug?.Invoke(this, args); }
/// <summary> /// Handles debug log delegate calls for the Azure Spatial Anchor session. /// </summary> private void CloudSpatialAnchorSession_OnLogDebug(object sender, OnLogDebugEventArgs args) { Debug.Log($"Azure Spatial Anchor log: {args.Message}"); System.Diagnostics.Debug.WriteLine($"Azure Spatial Anchor log: {args.Message}"); }
private void OnSessionLogDebug(object sender, OnLogDebugEventArgs args) { Debug.Log(args.Message); }
private void CloudSpatialAnchorSession_OnLogDebug(object sender, OnLogDebugEventArgs args) { Debug.Log("ASA Log: " + args.Message); System.Diagnostics.Debug.WriteLine("ASA Log: " + args.Message); }
/// <summary> /// This method is called when the <see cref="SpatialAnchorManager"/> makes a debug. /// You can change the loglevel of the SpatialAnchorManager in the unity inspector to determine the amount of messages. /// </summary> /// <param name="sender"></param> /// <param name="args">contains the debug msg</param> private void CloudManager_LogDebug(object sender, OnLogDebugEventArgs args) { logger.Log($"ASA: {args.Message} "); }
private void CloudSession_OnLogDebug(object sender, OnLogDebugEventArgs args) { //Debug.Log("ASA Log: " + args.Message); }
private void CloudManagerOnLogDebug(object sender, OnLogDebugEventArgs args) { //throw new NotImplementedException(); }