Esempio n. 1
0
        /// <summary>
        /// Records an app exception. Commonly used to catch unhandled exceptions.
        /// </summary>
        /// <param name="errorID">Name of the error.</param>
        /// <param name="message">The message to associate with the error.</param>
        /// <param name="exception">The exception object to report.</param>
        public void LogError(string errorID, string message, object target)
        {
#if UNITY_EDITOR
#elif UNITY_IOS
            FlurryIOS.LogError(errorID, message, null);
#elif UNITY_ANDROID
            FlurryAndroid.OnError(errorID, message, target.GetType().Name);
#endif
        }
        /// <summary>
        /// Records an app exception. Commonly used to catch unhandled exceptions.
        /// </summary>
        /// <param name="errorID">Name of the error.</param>
        /// <param name="message">The message to associate with the error.</param>
        /// <param name="exception">The exception object to report.</param>
        public void LogError(string errorID, string message)
        {
#if UNITY_EDITOR
#elif UNITY_IOS
            FlurryIOS.LogError(errorID, message, null);
#elif UNITY_ANDROID
            FlurryAndroid.OnError(errorID, message, null);
#endif
        }
Esempio n. 3
0
 public void LogError(string errorID, string message, object target)
 {
     FlurryAndroid.OnError(errorID, message, target.GetType().Name);
 }