Added extension point for logging.