making log(tag, data) public