mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Add temporary logger for debugging
This commit is contained in:
parent
aeb7da73c9
commit
a5af4d8c9d
2 changed files with 3 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ edition = "2018"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.33"
|
anyhow = "1.0.33"
|
||||||
async-trait = "0.1.42"
|
async-trait = "0.1.42"
|
||||||
|
env_logger = "0.8.3"
|
||||||
futures-channel = "0.3.5"
|
futures-channel = "0.3.5"
|
||||||
gettext-rs = { version = "0.5.0", features = ["gettext-system"] }
|
gettext-rs = { version = "0.5.0", features = ["gettext-system"] }
|
||||||
gstreamer = "0.16.4"
|
gstreamer = "0.16.4"
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,8 @@ fn main() {
|
||||||
gettextrs::bindtextdomain("musicus", config::LOCALEDIR);
|
gettextrs::bindtextdomain("musicus", config::LOCALEDIR);
|
||||||
gettextrs::textdomain("musicus");
|
gettextrs::textdomain("musicus");
|
||||||
|
|
||||||
|
env_logger::init();
|
||||||
|
|
||||||
gstreamer::init().expect("Failed to initialize GStreamer!");
|
gstreamer::init().expect("Failed to initialize GStreamer!");
|
||||||
gtk::init().expect("Failed to initialize GTK!");
|
gtk::init().expect("Failed to initialize GTK!");
|
||||||
libadwaita::init();
|
libadwaita::init();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue