fix lib/log interface

Change-Id: I2d4e3801aeb69a71ec21f3df0e39871537d346c2