Changeset 1862 for trunk/python/logging.py
- Timestamp:
- 08/05/10 16:10:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/logging.py
r1861 r1862 1 1 """This module presents a logging abstraction layer on top of casa. 2 2 """ 3 __all__ = ["asaplog", " print_log_dec", "AsapLogger"]3 __all__ = ["asaplog", "asaplog_post_dec", "AsapLogger"] 4 4 5 5 import inspect … … 85 85 """Default asap logger""" 86 86 87 def print_log_dec(f):87 def asaplog_post_dec(f): 88 88 """Decorator which posts log at completion of the wrapped method. 89 89 90 90 Example:: 91 91 92 @ print_log_dec92 @asaplog_post_dec 93 93 def test(self): 94 94 do_stuff()
Note: See TracChangeset
for help on using the changeset viewer.