mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
Miscellanous fixes
This commit is contained in:
@ -15,7 +15,8 @@ namespace IW4MAdmin
|
||||
Info,
|
||||
Debug,
|
||||
Warning,
|
||||
Error
|
||||
Error,
|
||||
Assert
|
||||
}
|
||||
|
||||
string FileName;
|
||||
@ -72,5 +73,11 @@ namespace IW4MAdmin
|
||||
{
|
||||
Write(msg, LogType.Warning);
|
||||
}
|
||||
|
||||
public void WriteAssert(bool condition, string msg)
|
||||
{
|
||||
if (!condition)
|
||||
Write(msg, LogType.Assert);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user