init_default

Function init_default 

Source
pub fn init_default() -> FinalizeGuard
Expand description

Init sparkles with default config

Returns a guard that will finalize global buffer when dropped

ยงAttention

Do not forget to save finalize guard, returned from this call! If you drop it too early, sparkles thread will be finished and no more data will be recorded!