Adds log in the GLWidget