Changeset 17:fd24bfeda1d7


Ignore:
Timestamp:
02/11/12 19:55:12 (13 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added function for untimed messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/logger.py

    r11 r17  
    4444        print timeStr + ":", msg       
    4545
     46    def untimedMessage(self, msg):
     47        """Put an untimed message into the log."""
     48        print >> self._output, msg
     49        print msg       
     50
    4651    def debug(self, msg):
    4752        """Log a debug message."""
    48         print >> self._output, "[DEBUG] ", msg
     53        print >> self._output, "[DEBUG]", msg
    4954        print "[DEBUG]", msg
    5055
Note: See TracChangeset for help on using the changeset viewer.