增加日志触发接口

Signed-off-by: XuTongle <xutongle@gmail.com>