Skip to main content

init_pipeline_logging_with_redaction

Function init_pipeline_logging_with_redaction 

Source
pub fn init_pipeline_logging_with_redaction<R: LineRedactor>(
    pipeline_name: ColoredString,
    pipeline_id: Option<String>,
    env_filter: EnvFilter,
    redactor: R,
) -> Result<(), TryInitError>
Expand description

Redact text events as lines and JSON events before serializing their fields.