예제 #1
0
파일: Logger.cs 프로젝트: xbloke/sledge
        public static void ShowException(Exception ex, string message = "")
        {
            var info   = new ExceptionInfo(ex, message);
            var window = new ExceptionWindow(info);

            if (Editor.Instance == null || Editor.Instance.IsDisposed)
            {
                window.Show();
            }
            else
            {
                window.Show(Editor.Instance);
            }
        }
예제 #2
0
 public static void ShowException(Exception ex, string message = "")
 {
     var info = new ExceptionInfo(ex, message);
     var window = new ExceptionWindow(info);
     if (Editor.Instance == null || Editor.Instance.IsDisposed) window.Show();
     else window.Show(Editor.Instance);
 }