ENH: move some level

jira: [none]
Change-Id: Ibd0d380b16b30f63144d38a0c34972d8b7c4153f
This commit is contained in:
xin.zhang 2025-03-27 17:08:53 +08:00 committed by lane.wei
parent 8fbbf8f34f
commit 2da69efd9b
8 changed files with 11 additions and 11 deletions

View File

@ -660,7 +660,7 @@ std::string AppConfig::load()
if (iter.value().is_string())
m_storage[it.key()][iter.key()] = iter.value().get<std::string>();
else {
BOOST_LOG_TRIVIAL(trace) << "load config warning...";
BOOST_LOG_TRIVIAL(warning) << "load config warning...";
}
}
}

View File

@ -2050,7 +2050,7 @@ void PrintObject::bridge_over_infill()
}
}
}
}
}
#if USE_TBB_IN_INFILL
});
#endif
@ -2758,7 +2758,7 @@ void PrintObject::bridge_over_infill()
SurfacesPtr internal_infills = region->fill_surfaces.filter_by_type(stInternal);
ExPolygons new_internal_infills = diff_ex(internal_infills, cut_from_infill); // 新的稀疏填充区域,去掉生成的桥接区域
new_internal_infills = diff_ex(new_internal_infills, additional_ensuring);
new_internal_infills = diff_ex(new_internal_infills, additional_ensuring);
for (const ExPolygon &ep : new_internal_infills) {
new_surfaces.emplace_back(stInternal, ep);
}

View File

@ -4502,7 +4502,7 @@ std::string GUI_App::handle_web_request(std::string cmd)
}
}
catch (...) {
BOOST_LOG_TRIVIAL(trace) << "parse json cmd failed " << cmd;
BOOST_LOG_TRIVIAL(warning) << "parse json cmd failed " << cmd;
return "";
}
return "";

View File

@ -709,7 +709,7 @@ std::string get_error_message(int error_code)
}
})
.on_error([](std::string body, std::string error, unsigned status) {
BOOST_LOG_TRIVIAL(trace) << boost::format("[BBL ErrorMessage]: status=%1%, error=%2%, body=%3%") % status % error % body;
BOOST_LOG_TRIVIAL(info) << boost::format("[BBL ErrorMessage]: status=%1%, error=%2%, body=%3%") % status % error % body;
}).perform_sync();
return result_str;

View File

@ -108,7 +108,7 @@ void BindJob::process()
);
if (result < 0) {
BOOST_LOG_TRIVIAL(trace) << "login: result = " << result;
BOOST_LOG_TRIVIAL(info) << "login: result = " << result;
if (result_code == BAMBU_NETWORK_ERR_BIND_ECODE_LOGIN_REPORT_FAILED || result_code == BAMBU_NETWORK_ERR_BIND_GET_PRINTER_TICKET_TIMEOUT) {
int error_code;
@ -130,7 +130,7 @@ void BindJob::process()
DeviceManager* dev = Slic3r::GUI::wxGetApp().getDeviceManager();
if (!dev) {
BOOST_LOG_TRIVIAL(trace) << "login: dev is null";
BOOST_LOG_TRIVIAL(error) << "login: dev is null";
post_fail_event(result_code, result_info);
return;
}

View File

@ -1122,7 +1122,7 @@ void SelectMachineDialog::finish_mode()
void SelectMachineDialog::sync_ams_mapping_result(std::vector<FilamentInfo> &result)
{
if (result.empty()) {
BOOST_LOG_TRIVIAL(trace) << "ams_mapping result is empty";
BOOST_LOG_TRIVIAL(info) << "ams_mapping result is empty";
for (auto it = m_materialList.begin(); it != m_materialList.end(); it++) {
wxString ams_id = "Ext";//
wxColour ams_col = wxColour(0xCE, 0xCE, 0xCE);
@ -2592,7 +2592,7 @@ void SelectMachineDialog::on_send_print()
if (!obj_->is_lan_mode_printer()) {
result = m_plater->export_config_3mf(m_print_plate_idx);
if (result < 0) {
BOOST_LOG_TRIVIAL(trace) << "export_config_3mf failed, result = " << result;
BOOST_LOG_TRIVIAL(info) << "export_config_3mf failed, result = " << result;
return;
}
}

View File

@ -663,7 +663,7 @@ void SendMultiMachinePage::on_send(wxCommandEvent& event)
// export config 3mf if needed
result = m_plater->export_config_3mf(m_print_plate_idx);
if (result < 0) {
BOOST_LOG_TRIVIAL(trace) << "export_config_3mf failed, result = " << result;
BOOST_LOG_TRIVIAL(info) << "export_config_3mf failed, result = " << result;
return;
}

View File

@ -840,7 +840,7 @@ void SendToPrinterDialog::on_ok(wxCommandEvent &event)
if (!obj_->is_lan_mode_printer()) {
result = m_plater->export_config_3mf(m_print_plate_idx);
if (result < 0) {
BOOST_LOG_TRIVIAL(trace) << "export_config_3mf failed, result = " << result;
BOOST_LOG_TRIVIAL(info) << "export_config_3mf failed, result = " << result;
return;
}
}