public void VisitProperty(string propertyName, object value) { var v = _translator.PropertyValueToString(propertyName, value); if (_filter.ShouldVisitPropertyValue(v)) { _logger.LogProperty(_indent + 1, propertyName, v); } }
public bool ShouldVisitPropertyValue(string propertyName, object value) { string s = _translator.PropertyValueToString(propertyName, value); if (propertyName == "Name") { string name = value as string; return(!name.StartsWith("<reacttag>:") && name != ""); } return(_filter.ShouldVisitPropertyValue(s)); }