Пример #1
0
 /// <summary>
 /// Store a traffic log to a file
 /// </summary>
 /// <param name="text"></param>
 public static void TrafficLog(string text)
 {
     if (Configuration.Network.Logging)
     {
         StorageWriter.InsertLine("trafficlog.dat", DateTime.Now + ": " + text, false);
     }
 }
Пример #2
0
 /// <summary>
 /// Store a traffic log to a file
 /// </summary>
 /// <param name="text"></param>
 public static void TrafficLog(string text)
 {
     if (config.Logging)
     {
         StorageWriter.InsertLine("trafficlog.dat", DateTime.Now.ToString() + ": " + text, false);
     }
 }