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

renamed print_log_dec to more explicit asaplog_post_dec

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/logging.py

    r1861 r1862  
    11"""This module presents a logging abstraction layer on top of casa.
    22"""
    3 __all__ = ["asaplog", "print_log_dec", "AsapLogger"]
     3__all__ = ["asaplog", "asaplog_post_dec", "AsapLogger"]
    44
    55import inspect
     
    8585"""Default asap logger"""
    8686
    87 def print_log_dec(f):
     87def asaplog_post_dec(f):
    8888    """Decorator which posts log at completion of the wrapped method.
    8989
    9090    Example::
    9191
    92         @print_log_dec
     92        @asaplog_post_dec
    9393        def test(self):
    9494            do_stuff()
Note: See TracChangeset for help on using the changeset viewer.