Support to print format logs.

N/A

Signed-off-by: liminghao <vgotoos@gmail.com>