日志方法更加健壮了

Signed-off-by: tanwenhai <342853203@qq.com>