debug: Add more tracing for initial operations

This commit is contained in:
Sophie Herold 2024-02-08 00:32:09 +01:00
parent 23918bf31e
commit a7116925bf
5 changed files with 24 additions and 0 deletions

View file

@ -81,13 +81,19 @@ fn main() -> glib::ExitCode {
log_builder.init();
log::debug!("Logger initialized");
setlocale(LocaleCategory::LcAll, "");
bindtextdomain("loupe", config::LOCALEDIR).unwrap();
textdomain("loupe").unwrap();
log::trace!("gettext initialized");
gio::resources_register(
&gio::Resource::from_data(&glib::Bytes::from_static(GRESOURCE_BYTES)).unwrap(),
);
log::trace!("Gio resources registered");
LpApplication::new().run()
}