コード例 #1
0
ファイル: Protocol.cs プロジェクト: oferfridsms1/OctoTip
        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));
        }
コード例 #2
0
ファイル: Protocol.cs プロジェクト: oferfridsms1/OctoTip
 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));
 }