using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.IO; using System.Text; using Sog; namespace bill_statistics { public static partial class LogWrapper { public static void LogToFileLongKeep() { LogLongKeep(); LogNewUserRechargeInfo(); } public static void LogToFileAll() { string fileName = @"kangpai运营日志.xlsx"; UTF8Encoding utf8 = new UTF8Encoding(); Byte[] encodedBytes = utf8.GetBytes(fileName); String decodedString = utf8.GetString(encodedBytes); FileStream fs = new FileStream(decodedString, FileMode.Create, FileAccess.Write); LogRetentionInfo(); LogRetentionInfoChannel(); LogPayInfo(); LogCommInfo(); LogNewUserCommInfo(); LogOnlineInfo(); LogNewUserGetBrokeGrantInfo(); OurOwnAllGameCount(); PrintAllLostUserChip(); PrintChipDiamondInfo(); PrintChipDiamondRangeInfo(); PrintFacebookActive(); PrintLoseLess10000(); LogSnsFriend(); PrintDiamondChipExchangeInfo(); LogRetentionOptimizetion(); fs.Dispose(); } } }