adapt log interface