This log api is from Hxlib.
