Пример #1
0
 internal void Log(IO.Message m, bool suppressPrint = false)
 {
     if (userLog == null)
     {
         userLog = new IO.Logging.LogFile(Name, subdirectory: Name, timestamped: true);
     }
     userLog.Log(m, suppressPrint);
 }
Пример #2
0
 internal void MessageReceived(IO.Message m)
 {
     if (userLog == null)
     {
         userLog = new IO.Logging.LogFile(Name, subdirectory: Name, timestamped: true);
         Core.ActiveUserLogs.Add(userLog);
     }
     Log(m);
 }
Пример #3
0
 internal void InitializeChannelLogs()
 {
     if (ChannelLog == null)
     {
         ChannelLog = new IO.Logging.LogFile(Name, subdirectory: Name, timestamped: true);
     }
     if (ChannelModLog == null)
     {
         ChannelModLog = new IO.Logging.LogFile(Name + "_Mods", writeInterval: 1000, subdirectory: Name, timestamped: true);
     }
 }