Changeset 87:b13b4d827920


Ignore:
Timestamp:
04/15/12 13:11:55 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Logger messages do not go to the standard output too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/logger.py

    r31 r87  
    4848        timeStr = Logger._getTimeStr(timestamp)
    4949        print >> self._output, timeStr + ":", msg
    50         print timeStr + ":", msg       
    5150
    5251    def untimedMessage(self, msg):
    5352        """Put an untimed message into the log."""
    5453        print >> self._output, msg
    55         print msg       
    5654
    5755    def debug(self, msg):
    5856        """Log a debug message."""
    59         print >> self._output, "[DEBUG]", msg
    6057        print "[DEBUG]", msg
    6158
Note: See TracChangeset for help on using the changeset viewer.