mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-27 19:30:57 -07:00
ENH: print origin package at info level; remove indents
jira: [none] Change-Id: I8130951c8b451d7e8ce164e70d70b84e542c5a22 (cherry picked from commit 8fbbf8f34ffc41a414a0904b00cc163df30d056a)
This commit is contained in:
parent
aa70322e87
commit
8eee80286b
1 changed files with 5 additions and 1 deletions
|
|
@ -3267,7 +3267,11 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
|
|||
else
|
||||
last_utc_time = last_update_time;
|
||||
|
||||
BOOST_LOG_TRIVIAL(trace) << "parse_json: dev_id=" << dev_id << ", playload=" << j.dump(4);
|
||||
if (Slic3r::get_logging_level() < level_string_to_boost("trace")) {
|
||||
BOOST_LOG_TRIVIAL(info) << "parse_json: dev_id=" << dev_id << ", origin playload=" << j_pre.dump(0);
|
||||
} else {
|
||||
BOOST_LOG_TRIVIAL(trace) << "parse_json: dev_id=" << dev_id << ", merged playload=" << j.dump(0);
|
||||
}
|
||||
|
||||
// Parse version info first, as if version arrive or change, 'print' need parse again with new compatible settings
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue