diff orpg/tools/orpg_log.py @ 10:5df1340bda13 grumpy-goblin

Big patch! Linux GUI, Fetching Dict., Init2, Streaming lining.
author sirebral
date Tue, 21 Jul 2009 17:19:53 -0500
parents 4385a7d0efd1
children 97265586402b
line wrap: on
line diff
--- a/orpg/tools/orpg_log.py	Sat Jul 18 11:41:05 2009 -0500
+++ b/orpg/tools/orpg_log.py	Tue Jul 21 17:19:53 2009 -0500
@@ -38,8 +38,7 @@
         if self.logToConsol or to_consol or type == ORPG_CRITICAL:
             print msg
 
-        if type & self.logLevel:
-        #if type & self.logLevel or to_consol: #Arbitrary removal TaS.
+        if type & self.logLevel or to_consol:
             logMsg = time.strftime( '[%x %X] ', time.localtime( time.time() ) ) + msg + "\n"
             logFile = open(self.logName, "a")
             logFile.write(logMsg)