Function maidsafe_utilities::log::init_to_file [] [src]

pub fn init_to_file<P: AsRef<Path>>(show_thread_name: bool,
                                    file_path: P,
                                    log_to_console: bool)
                                    -> Result<(), String>

Initialises the env_logger for output to a file and optionally to the console asynchronously.

For further details, see the module docs.