Skip to main content

pamoja_reporter_new

Function pamoja_reporter_new 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_reporter_new( threshold: PamojaTelemetryLevel, ) -> *mut PamojaReporter
Expand description

Creates a reporter that ships events at or above a level.

§Arguments

  • threshold - the lowest level to ship.

§Returns

A handle the caller must release with pamoja_reporter_free.