How To Use Log Function In Cpp