Function wasmbus_rpc::channel_log::init_receiver[][src]

pub fn init_receiver(log_rx: Receiver)
Expand description

Create background thread that uses the provided logger to log all records sent by the sender. If the user wants to change the log format, or log to a different location (file, syslog, or other service), they should not call init_receiver, but instead create their own function to handle LogRec events from the channel.