Wrapped public methods into logging.