コード例 #1
0
 public void DisplayOutPutMessage(string message)
 {
     if (GetIntellisenseOptionsPage().EnableOutputPane)
     {
         XSharpOutputPane.DisplayOutPutMessage(message);
     }
 }
コード例 #2
0
 public void DisplayOutPutMessage(string message)
 {
     if (XSettings.EnableLogging)
     {
         XSharpOutputPane.DisplayOutPutMessage(message);
     }
 }
コード例 #3
0
 public void DisplayException(Exception ex)
 {
     if (GetIntellisenseOptionsPage().EnableOutputPane)
     {
         string space = "";
         while (ex != null)
         {
             XSharpOutputPane.DisplayOutPutMessage(space + "**** Exception *** " + ex.GetType().FullName);
             XSharpOutputPane.DisplayOutPutMessage(space + ex.Message);
             XSharpOutputPane.DisplayOutPutMessage(space + ex.StackTrace);
             ex     = ex.InnerException;
             space += " ";
         }
     }
 }
コード例 #4
0
 public void LogMessage(string message)
 {
     Logger.Information(message);
     XSharpOutputPane.DisplayOutputMessage(message);
 }
コード例 #5
0
 public void LogException(Exception ex, string msg)
 {
     Logger.Exception(ex, msg);
     XSharpOutputPane.DisplayException(ex);
 }