Add logging
This commit is contained in:
parent
d5af178c91
commit
c9323b38de
|
@ -16,3 +16,5 @@ sha1 = "0.10.6"
|
|||
tokio = { version = "1", features = [ "rt" ] }
|
||||
xmpp = { git = "https://gitlab.com/xmpp-rs/xmpp-rs" }
|
||||
async-channel = "2.3.1"
|
||||
pretty_env_logger = "0.5"
|
||||
log = "0.4"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
use adw::prelude::*;
|
||||
use adw::subclass::prelude::ObjectSubclassIsExt;
|
||||
use gtk::{gio, glib};
|
||||
|
||||
mod message;
|
||||
|
@ -41,6 +42,8 @@ fn xep_0392(input: &str) -> String {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
pretty_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