mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-09 23:00:57 -05:00
Added AsyncStatus class to keep track of the timing of each update on servers
This commit is contained in:
@ -32,12 +32,12 @@ namespace IW4MAdmin
|
||||
// lets keep it simple and dispose of everything quickly as logging wont be that much (relatively)
|
||||
|
||||
Console.WriteLine(LogLine);
|
||||
File.AppendAllText(FileName, LogLine);
|
||||
File.AppendAllText(FileName, LogLine + Environment.NewLine);
|
||||
#else
|
||||
if (type == LogType.Error || type == LogType.Verbose)
|
||||
Console.WriteLine(LogLine);
|
||||
if (type != LogType.Debug)
|
||||
File.AppendAllText(FileName, LogLine);
|
||||
File.AppendAllText(FileName, LogLine + Environment.NewLine);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user