改良log组件

Signed-off-by: oky120002 <heyu.520@qq.com>