Function cdns_rs::a_sync::log::cdns_custom_output::initialize
source · pub async fn initialize(w: Box<dyn Write + Send>)
Expand description
Initializes the output to the custom buffer. This function does not check if you set the output twice and panics!
§Arguments
§Panics
If the mutex was poisoned, may panic. Also will panic, if it will be attempted to reinitialize the instance. If this is a problem, use initialize_safe