Function file_per_thread_logger::allow_uninitialized

source ·
pub fn allow_uninitialized()
Expand description

Allow logs files to be created from threads in which the logger is specifically uninitialized. It can be useful when you don’t have control on threads spawned by a dependency, for instance.

Should be called before calling code that spawns the new threads.