Example #1
0
        /// <summary>
        /// 예외 정보를 전송합니다.
        /// </summary>
        /// <param name="exception">예외</param>
        /// <param name="properties">추가 정보</param>
        public void TrackError(Exception exception, AppCenterProperties properties = null)
        {
            Error(AppCenterLog.LogTag, $"{exception.Message}{Environment.NewLine}{properties?.ToString()}", exception);

            Crashes.TrackError(exception, properties?.ToDictionary());
        }
Example #2
0
        /// <summary>
        /// 이벤트 데이터를 전송합니다.
        /// </summary>
        /// <param name="name">이벤트 이름</param>
        /// <param name="properties">추가 정보</param>
        public void TrackEvent(string name, AppCenterProperties properties = null)
        {
            Info(AppCenterLog.LogTag, $"{name}{Environment.NewLine}{properties?.ToString()}", null, null, null);

            Analytics.TrackEvent(name, properties?.ToDictionary());
        }