using System.Collections.Generic; using System.Threading.Tasks; using Plugins.Countly.Helpers; using UnityEngine; namespace Plugins.Countly.Services { public interface ICrushReportsCountlyService { /// /// Called when there is an exception /// /// Exception Class /// Stack Trace /// Excpetion type like error, warning, etc void LogCallback(string message, string stackTrace, LogType type); /// /// Private method that sends crash details to the server. Set param "nonfatal" to true for Custom Logged errors /// /// /// /// /// /// /// Task SendCrashReportAsync(string message, string stackTrace, LogType type, IDictionary segments = null, bool nonfatal = true); /// /// Sends custom logged errors to the server. /// /// /// /// /// /// Task SendCrashReportAsync(string message, string stackTrace, LogType type, IDictionary segments = null); /// /// Adds string value to a list which is later sent over as logs whenever a cash is reported by system. /// The length of a breadcrumb is limited to 1000 characters. Only first 1000 characters will be accepted in case the length is more /// than 1000 characters. /// /// void AddBreadcrumbs(string value); } }