log comparison operator