pub fn log_thread_enabled() -> bool
Return true if the log thread is enabled and running, false otherwise.