FIX: printer file system debug log
Change-Id: Iac9520de0d844fe24e116b0b4f0491c560ff3c26 (cherry picked from commit c97f927110b9c96cc8d43f521f88ea0e77522ff7)
This commit is contained in:
parent
8e41e6cee2
commit
1f56efe5ea
2 changed files with 4 additions and 2 deletions
|
@ -915,7 +915,7 @@ boost::uint32_t PrinterFileSystem::SendRequest(int type, json const &req, callba
|
|||
auto msg = oss.str();
|
||||
//OutputDebugStringA(msg.c_str());
|
||||
//OutputDebugStringA("\n");
|
||||
BOOST_LOG_TRIVIAL(info) << "PrinterFileSystem::SendRequest: " << type << " msg: " << msg;
|
||||
wxLogMessage("PrinterFileSystem::SendRequest: \n%s\n", msg);
|
||||
boost::unique_lock l(m_mutex);
|
||||
m_messages.push_back(msg);
|
||||
m_callbacks.push_back(callback);
|
||||
|
@ -1013,6 +1013,7 @@ void PrinterFileSystem::HandleResponse(boost::unique_lock<boost::mutex> &l, Bamb
|
|||
json root;
|
||||
//OutputDebugStringA(msg.c_str());
|
||||
//OutputDebugStringA("\n");
|
||||
wxLogMessage("PrinterFileSystem::HandleResponse: \n%s\n", msg);
|
||||
std::istringstream iss(msg);
|
||||
int cmd = 0;
|
||||
int seq = -1;
|
||||
|
|
|
@ -241,7 +241,8 @@ void WebView::LoadUrl(wxWebView * webView, wxString const &url)
|
|||
|
||||
bool WebView::RunScript(wxWebView *webView, wxString const &javascript)
|
||||
{
|
||||
if (Slic3r::GUI::wxGetApp().app_config->get("internal_developer_mode") == "true")
|
||||
if (Slic3r::GUI::wxGetApp().app_config->get("internal_developer_mode") == "true"
|
||||
&& javascript.find("studio_userlogin") == wxString::npos)
|
||||
wxLogMessage("Running JavaScript:\n%s\n", javascript);
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue