Fix GM_log (because XRay wrappers literally hate me!)

Closes GH-258