Add comments for xlog API.