Ejemplo n.º 1
0
        public static void WriteZhuanZhangLog(long qq, string str)
        {
            StreamWriter streamWriter = new StreamWriter(MySystemUtil.GetDllRoot() + "zhuanzhang.txt", true);

            streamWriter.WriteLine(qq + "在" + DateTime.Now.ToString() + "发起转账:" + str);
            //streamWriter.WriteLine("---------------------------------------------------------");
            streamWriter.Close();
        }
Ejemplo n.º 2
0
        public static void ErrToLog(long qq, string str)
        {
            StreamWriter streamWriter = new StreamWriter(MySystemUtil.GetDllRoot() + "errLog.txt", true);

            streamWriter.WriteLine(DateTime.Now.ToString() + "=>" + str);
            streamWriter.WriteLine("---------------------------------------------------------");
            streamWriter.Close();
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 我给与的回复
        /// </summary>
        /// <param name="str"></param>
        public static void WriteQQDialogueLogOfMe(long qq, string str)
        {
            StreamWriter streamWriter = new StreamWriter(MySystemUtil.GetQQDialogueDir() + qq + ".txt", true);

            streamWriter.WriteLine("我 " + DateTime.Now.ToString("HH:mm:ss") + "=>" + str);
            //streamWriter.WriteLine("---------------------------------------------------------");
            streamWriter.Close();
        }