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); }
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); }
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); } }