[format] avoid making a copy of the string in logline_value and reduce UI updates