the log function developed!

Signed-off-by: DingCao <349373001@qq.com>