Enable env_logger
This is probably temporary, as we will most likely want to have a debug console, but this will do for now.
This commit is contained in:
parent
950571be81
commit
7c85e6e006
|
@ -16,3 +16,4 @@ sha1 = "0.10.6"
|
|||
tokio = { version = "1", features = [ "rt" ] }
|
||||
xmpp = { git = "https://gitlab.com/xmpp-rs/xmpp-rs" }
|
||||
async-channel = "2.3.1"
|
||||
env_logger = { version = "0.11.3", default-features = false, features = ["color", "auto-color", "humantime"] }
|
||||
|
|
|
@ -41,6 +41,8 @@ fn xep_0392(input: &str) -> String {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
env_logger::init();
|
||||
|
||||
let mut args = std::env::args();
|
||||
let _ = args.next().unwrap();
|
||||
let username = args.next().expect("Please give username argument 1");
|
||||
|
|
Loading…
Reference in New Issue
Block a user