Expand description
Formatting helpers
Structs§
- Abbreviate
Debug - A wrapper that causes the inner
T
to be debug-formatted usingAbbreviatedDebug
- Abbreviate
HexBytes - Use for displaying bytes in the logs
- Abbreviate
Json - Use for displaying potentially large
[serde_json::Value]
s in the logs - OptStacktrace
- Optional stacktrace formatting for errors.
Traits§
- Abbreviated
Debug - Something that can be debug-formatted in an abbreviated way
Functions§
- floor_
char_ boundary - fmt_
abbreviated_ 🔒object - Format json object value truncating keys if there’s too many, and keys and values if they are too long
- fmt_
abbreviated_ 🔒str - Format json string value if it’s too long
- fmt_
abbreviated_ 🔒vec - Format json array value truncating elements if there’s too many, and values if they are too long
- rust_
log_ full_ enabled