core/Logger.cpp
changeset 665 74fa35a4c27c
parent 663 b526b82e256e
child 669 ce01c2eb020c
     1.1 --- a/core/Logger.cpp	Thu Apr 05 05:28:44 2007 +0000
     1.2 +++ b/core/Logger.cpp	Thu Apr 05 05:45:35 2007 +0000
     1.3 @@ -427,6 +427,11 @@
     1.4  
     1.5  void Logger::LogFatal(const char *msg, ...)
     1.6  {
     1.7 +	/* :TODO: make this print all pretty-like
     1.8 +	 * In fact, the pretty log printing function should be abstracted. 
     1.9 +	 * It's already implemented twice which is bad.
    1.10 +	 */
    1.11 +
    1.12  	char path[PLATFORM_MAX_PATH];
    1.13  	g_SourceMod.BuildPath(Path_Game, path, sizeof(path), "sourcemod_fatal.log");
    1.14  	FILE *fp = fopen(path, "at");