- Timestamp:
- Sep 24, 2010, 3:50:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/sc_branches/psps_testing/utilities/psps_logger.py
r29227 r29235 14 14 15 15 class __impl(logging.Logger): 16 """ Implementation of the singleton interface"""16 """Implementation of the singleton interface""" 17 17 def __init__(self): 18 18 """Sets logging up""" … … 40 40 >>> logger1.debug('This message is not displayed') 41 41 >>> logger2 = PsPsLoggerClass() 42 >>> logger1.id() == logger2.id()42 >>> print logger1.id() == logger2.id() 43 43 True 44 44 >>> logger1.setLevel(logging.DEBUG) … … 123 123 import doctest 124 124 doctest.testmod() 125 PsPsLogger.test() 125 126 sys.exit(0) 126 127 # if sys.argv[1] == 'testfile':
Note:
See TracChangeset
for help on using the changeset viewer.
