Changeset 1808 for branches/newfiller
- Timestamp:
- 08/02/10 11:38:07 (15 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  branches/newfiller/python/logging.py (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      branches/newfiller/python/logging.pyr1797 r1808 3 3 from asap.env import is_casapy 4 4 from asap._asap import LogSink, set_global_sink 5 try: 6 from functools import wraps as wraps_dec 7 except ImportError: 8 from asap.compatibility import wraps as wraps_dec 9 5 10 6 11 class _asaplog(object): … … 48 53 asaplog = _asaplog() 49 54 50 def print_log_dec(f, level ):55 def print_log_dec(f, level='INFO'): 51 56 @wraps_dec(f) 52 57 def wrap_it(*args, **kw): 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
