log cgrect