Changeset 87:b13b4d827920
- Timestamp:
- 04/15/12 13:11:55 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/logger.py
r31 r87 48 48 timeStr = Logger._getTimeStr(timestamp) 49 49 print >> self._output, timeStr + ":", msg 50 print timeStr + ":", msg51 50 52 51 def untimedMessage(self, msg): 53 52 """Put an untimed message into the log.""" 54 53 print >> self._output, msg 55 print msg56 54 57 55 def debug(self, msg): 58 56 """Log a debug message.""" 59 print >> self._output, "[DEBUG]", msg60 57 print "[DEBUG]", msg 61 58
Note:
See TracChangeset
for help on using the changeset viewer.