public void RunInterface() { this.Log.Debug(PluginName + " - Running interface."); try { _plugin.RunInterface(PluginName); } catch (Exception ex) { this.Log.Error(PluginName + " - Run Interface Error", ex); } this.Log.Debug(PluginName + " - Moving on..."); }
public void RunInterface(string serviceName) { Log = new OSAE.General.OSAELog(serviceName); Log.Debug(PluginName + " - Running interface."); try { _plugin.RunInterface(PluginName); _running = true; } catch (Exception ex) { Log.Error(PluginName + " - Run Interface Error", ex); } Log.Debug(PluginName + " - Moving on..."); }
public void RunInterface() { logging.AddToLog(PluginName + " - Running interface.", false); try { _plugin.RunInterface(PluginName); } catch (Exception ex) { logging.AddToLog(PluginName + " - Run Interface Error: " + ex.Message, true); } logging.AddToLog(PluginName + " - Moving on...", false); }