Expand description
Bounded and redacted debug-formatting utilities.
The wrappers cap debug output from slices and strings before values enter tracing fields. The exported macro reports optional presence without exposing contents.
Structs§
- Truncated
Slice - Wraps a slice for length-limited
Debugoutput. - Truncated
Str - Wraps a UTF-8 string for threshold-limited
Debugoutput.
Functions§
- slice_
truncated - Creates a tracing debug value that truncates a slice.
- str_
truncated - Creates a tracing debug value that truncates a string.