Changeset 17:fd24bfeda1d7
- Timestamp:
- 02/11/12 19:55:12 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/logger.py
r11 r17 44 44 print timeStr + ":", msg 45 45 46 def untimedMessage(self, msg): 47 """Put an untimed message into the log.""" 48 print >> self._output, msg 49 print msg 50 46 51 def debug(self, msg): 47 52 """Log a debug message.""" 48 print >> self._output, "[DEBUG] 53 print >> self._output, "[DEBUG]", msg 49 54 print "[DEBUG]", msg 50 55
Note:
See TracChangeset
for help on using the changeset viewer.