close #246
thanks @loftor-git, but I want to delete the "log" method