Function smallvectune::with_log[][src]

pub fn with_log() -> Log

Use this with let _log = with_log(); in your main method to flush the log and exit the logger thread on program exit