Updated GLCHECKERROWARNING to use gLogger global instance instead of std::cerr