Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
     }
 }