Changeset 1829


Ignore:
Timestamp:
08/03/10 14:16:33 (14 years ago)
Author:
Malte Marquarding
Message:

Don't post message if logger is disabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/logging.py

    r1824 r1829  
    2525        logs.
    2626        """
     27        if not self._enabled:
     28            return
     29        if not rcParams['verbose']:
     30            return
     31
    2732        logs = self._log.strip()
    2833        if len(logs) > 0:
Note: See TracChangeset for help on using the changeset viewer.