Skip to main content

Module util

Module util 

Source
Expand description

Shared utility functions for the parser crate.

Contains internal helpers (string truncation) and public pipeline utilities (compress_log, content_hash) shared by all consumers of parsed log data.

Functions§

compress_log
Gzip-compress scrubbed log text into a byte buffer.
content_hash
Compute the SHA-256 hex digest of compressed payload bytes.