Merge pull request #4 from pteromys/master

Add env_logger to ease troubleshooting.
This commit is contained in:
Travis Burtrum 2022-11-04 21:24:14 -04:00 committed by GitHub
commit c8ce4bb629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -32,4 +32,4 @@ tokio-tls = { package = "tokio-native-tls", version = "0.3" }
xmpp-parsers = "0.18"
die = "0.2.0"
anyhow = "1.0"
env_logger = "0.9"

View File

@ -58,6 +58,8 @@ struct MyOptions {
#[tokio::main]
async fn main() {
env_logger::init();
let args: Vec<String> = args().collect();
// Remember to skip the first argument. That's the program name.