GOQuad: add log function.