write individual server log files and main log file seperately

log writing is thread safe now
This commit is contained in:
RaidMax
2018-10-06 11:47:14 -05:00
parent c7547f1ad5
commit de902a58ac
17 changed files with 72 additions and 45 deletions

View File

@ -108,7 +108,7 @@ namespace IW4MAdmin.Plugins.Welcome
catch (Exception)
{
joining.CurrentServer.Manager.GetLogger().WriteError("Could not open file Plugins\\GeoIP.dat for Welcome Plugin");
joining.CurrentServer.Logger.WriteError("Could not open file Plugins\\GeoIP.dat for Welcome Plugin");
}
msg = msg.Replace("{{TimesConnected}}", TimesConnected(joining));