Added improved logging through the engine for the server console.

This commit is contained in:
Scionwest_cp 2012-03-08 19:44:18 -08:00
parent 43e93706ab
commit bcd9f46b0a
10 changed files with 115 additions and 27 deletions

View file

@ -49,7 +49,8 @@ namespace MudEngine.Core
System.IO.File.Delete(LogFilename);
//Clear the cache.
_Messages.Clear();
if (_Messages != null)
_Messages.Clear();
}
public static void WriteLine(String message, Importance importance)