private void Log(string title, Logging.LoggingEntery.EnteryTypes ET) { string SubSendor; if (this.ProtocolParameters.Name == null) { SubSendor = this.GetType().Name; } else { SubSendor = string.Format("{0}({1})", this.GetType().Name, this.ProtocolParameters.Name); } Logging.Log.LogEntery(new Logging.LoggingEntery("OctoTipPlus Appilcation", SubSendor, title, ET)); }
protected void ProtocolLog(string Title, string Messege, Logging.LoggingEntery.EnteryTypes ET) { Logging.Log.LogEntery(new Logging.LoggingEntery(this.GetType().Name, this.ProtocolParameters.Name, Title, Messege, ET)); }