添加log class