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(); } }
public static void LogErr(string msg) { DebugOutputPanel.AddMessage(ColossalFramework.Plugins.PluginManager.MessageType.Error, "[FireworksMod]" + msg); DebugOutputPanel.Show(); }