How To Use Log Function In Java