mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Make sure app version is output in log regardless of log level, also show build git hash in log
This commit is contained in:
@@ -2091,6 +2091,8 @@ void GUI_App::init_app_config()
|
|||||||
set_log_path_and_level(log_filename, 3);
|
set_log_path_and_level(log_filename, 3);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
BOOST_LOG_TRIVIAL(info) << boost::format("gui mode, Current OrcaSlicer Version %1% build %2%") % SoftFever_VERSION % GIT_COMMIT_HASH;
|
||||||
|
|
||||||
//BBS: remove GCodeViewer as seperate APP logic
|
//BBS: remove GCodeViewer as seperate APP logic
|
||||||
if (!app_config)
|
if (!app_config)
|
||||||
app_config = new AppConfig();
|
app_config = new AppConfig();
|
||||||
@@ -2384,7 +2386,6 @@ bool GUI_App::on_init_inner()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
BOOST_LOG_TRIVIAL(info) << boost::format("gui mode, Current OrcaSlicer Version %1%")%SoftFever_VERSION;
|
|
||||||
BOOST_LOG_TRIVIAL(info) << get_system_info();
|
BOOST_LOG_TRIVIAL(info) << get_system_info();
|
||||||
|
|
||||||
// initialize label colors and fonts
|
// initialize label colors and fonts
|
||||||
|
|||||||
Reference in New Issue
Block a user