[][src]Function safe_app::utils::logging::init_to_server

pub fn init_to_server<A>(
    server_addr: A,
    show_thread_name: bool,
    log_to_console: bool
) -> Result<(), String> where
    A: ToSocketAddrs

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

For further details, see the module docs.