Update LogAndFunc.java