using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Sog; using Sog.Log; using ProtoCSStruct; namespace Friend { public static class FriendBillLogUtils { public static void LogFriendList(long uid, string accountId, int friendNum, int dayElapse) { BillLogHelper blh = new BillLogHelper((int) BillLogType.FriendList); blh.Append("uid", uid); blh.Append("accountId", accountId); blh.Append("friendCount", friendNum); blh.Append("createElapse", dayElapse); string logMessage = blh.ToString(); BillLogWriter.Instance.SendToBillLogSvr(uid, logMessage); } } }