Exemplo n.º 1
0
        /// <summary>
        /// 通信日志
        /// </summary>
        /// <param name="type">日志类别:信息、错误、警告</param>
        /// <param name="className">记录所在类名</param>
        /// <param name="methodName">记录所在方法名</param>
        /// <param name="send">通信发送方</param>
        /// <param name="receive">通信接收方</param>
        /// <param name="content">日志内容</param>
        public void LogCommunication(EmLogType type, string className, string methodName, string send, string receive, string content)
        {
            LogCommunicationContent content2 = new LogCommunicationContent(type, className, methodName, send, receive, content);

            this.LogRecord("comm", content2);
        }
Exemplo n.º 2
0
 /// <summary>
 /// 通信日志
 /// </summary>
 /// <param name="content"></param>
 internal void LogCommunication(LogCommunicationContent content)
 {
     this.LogRecord("comm", content);
 }