コード例 #1
0
 public static void Show()
 {
     try
     {
         DebugOutputPanel.Show();
     }
     catch (Exception ex)
     {
         CODebugBase <LogChannel> .Error(LogChannel.Core, ex.GetType().ToString() + " Message: " + ex.Message);
     }
 }
コード例 #2
0
 private static void demolishAllClick(UIComponent component, UIMouseEventParameter Event)
 {
     try
     {
         (new ThreadingTestMod()).ManualDemolishAll();
     } catch (ModException e)
     {
         DebugOutputPanel.AddMessage(ColossalFramework.Plugins.PluginManager.MessageType.Error, e.StackTrace);
         DebugOutputPanel.Show();
     }
 }
コード例 #3
0
 public static void LogErr(string msg)
 {
     DebugOutputPanel.AddMessage(ColossalFramework.Plugins.PluginManager.MessageType.Error, "[FireworksMod]" + msg);
     DebugOutputPanel.Show();
 }