add log interface