fix lib/log interface

Change-Id: I99c8e6394697042c38bc3526484364c2a0b1acf4