示例#1
0
        private void PrintResponseMessage(string ip, int port, string objt)
        {
            string conn = String.Format("{0}:{1}", ip, port);

            ClientLog.Write("[" + DateTime.Now + "][Incoming.][" + conn + "][Response: " + objt + "]");
        }
示例#2
0
        private void PrintErrorMessage(string ip, int port, string msg)
        {
            string conn = String.Format("{0}:{1}", ip, port);

            ClientLog.Write("##\n[" + DateTime.Now + "][Error....][" + conn + "][Details.: " + msg + "]\n##");
        }
示例#3
0
        private void PrintRequestMessage(string ip, int port)
        {
            string conn = String.Format("{0}:{1}", ip, port);

            ClientLog.Write("[" + DateTime.Now + "][Request..][" + conn + "]");
        }