Enhanced decorators can use for one function more than once.
Add logger.
Add logging.
Updated example code.