use new log interface.