Function maidsafe_utilities::log::init_to_web_socket [] [src]

pub fn init_to_web_socket<U: Borrow<str>>(server_url: U, show_thread_name_in_console: bool, log_to_console: bool) -> Result<()String>

Initialises the env_logger for output to a web socket and optionally to the console asynchronously. The log which goes to the web-socket will be both verbose and in JSON as filters should be present in web-servers to manipulate the output/view.

For further details, see the module docs.