一个打印日志的view组件；the view for printing log info