diff --git a/ytypes/validate.go b/ytypes/validate.go index 4f563370..35165220 100644 --- a/ytypes/validate.go +++ b/ytypes/validate.go @@ -96,7 +96,7 @@ func Validate(schema *yang.Entry, value interface{}, opts ...ygot.ValidationOpti } } - util.DbgPrint("Validate with value %v, type %T, schema name %s", util.ValueStr(value), value, schema.Name) + util.DbgPrint("Validate with value %v, type %T, schema name %s", util.ValueStrDebug(value), value, schema.Name) switch { case schema.IsLeaf():