Skip to main content

compact_log_text

Function compact_log_text 

Source
pub fn compact_log_text(text: &str) -> String
Expand description

Compacts one log line while preserving bounded UTF-8 text.

§Parameters

§Returns

Returns the computed value produced by crate::http::compact_log_text.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::http::compact_log_text.

§Examples

ⓘ
let _result = pharos_runtime_core::http::compact_log_text("{}");
  • crate::http for adjacent helpers that share the same runtime surface.