Skip to content

Commit

Permalink
fix(main): trace log app_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Cogitri committed Mar 31, 2019
1 parent e8d3f80 commit 9cb34aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ use gio::{ApplicationExt, ApplicationExtManual, ApplicationFlags, FileExt};
use glib::MainContext;
use gtk::Application;
use human_panic::setup_panic;
use log::{debug, info, warn};
use log::{debug, info, trace, warn};
use serde_json::{json, Value};
use std::cell::RefCell;
use std::env::args;
Expand Down Expand Up @@ -123,6 +123,7 @@ fn main() {
let (xi_peer, xi_rx) = XiPeer::new();
let core = Core::new(xi_peer, xi_rx, err_tx, shared_queue.clone());

trace!("application_id: {}", app_id!());
let application = Application::new(app_id!(), ApplicationFlags::HANDLES_OPEN)
.unwrap_or_else(|_| panic!("Failed to create the GTK+ application"));

Expand Down

0 comments on commit 9cb34aa

Please sign in to comment.