Esempio n. 1
0
 public static void Show()
 {
     try
     {
         DebugOutputPanel.Show();
     }
     catch (Exception ex)
     {
         CODebugBase <LogChannel> .Error(LogChannel.Core, ex.GetType().ToString() + " Message: " + ex.Message);
     }
 }
 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();
     }
 }
Esempio n. 3
0
 public static void LogErr(string msg)
 {
     DebugOutputPanel.AddMessage(ColossalFramework.Plugins.PluginManager.MessageType.Error, "[FireworksMod]" + msg);
     DebugOutputPanel.Show();
 }