Adding log_entry_exit decorator for easy tracing