RUST_LOG=debug can now be used in tokio-xmpp examples to see XMPP network traffic
This commit is contained in:
parent
ae67949e7a
commit
3ac741d666
7 changed files with 16 additions and 1 deletions
|
|
@ -10,6 +10,8 @@ use xmpp_parsers::{Element, Jid};
|
|||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
env_logger::init();
|
||||
|
||||
let args: Vec<String> = args().collect();
|
||||
if args.len() < 3 || args.len() > 5 {
|
||||
println!("Usage: {} <jid> <password> [server] [port]", args[0]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue