advance tracing messages from SG_INFO to SG_ALERT. If a developer has
demanded tracing, then he shouldn't get these important messages buried in thousands of lines of meaningless bulk.
This commit is contained in:
parent
38b37a068d
commit
0096c1bb02
@ -598,7 +598,7 @@ SGPropertyNode::trace_write () const
|
|||||||
cerr << "TRACE: Write node " << getPath () << ", value\""
|
cerr << "TRACE: Write node " << getPath () << ", value\""
|
||||||
<< make_string() << '"' << endl;
|
<< make_string() << '"' << endl;
|
||||||
#else
|
#else
|
||||||
SG_LOG(SG_GENERAL, SG_INFO, "TRACE: Write node " << getPath()
|
SG_LOG(SG_GENERAL, SG_ALERT, "TRACE: Write node " << getPath()
|
||||||
<< ", value\"" << make_string() << '"');
|
<< ", value\"" << make_string() << '"');
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -613,7 +613,7 @@ SGPropertyNode::trace_read () const
|
|||||||
cerr << "TRACE: Write node " << getPath () << ", value \""
|
cerr << "TRACE: Write node " << getPath () << ", value \""
|
||||||
<< make_string() << '"' << endl;
|
<< make_string() << '"' << endl;
|
||||||
#else
|
#else
|
||||||
SG_LOG(SG_GENERAL, SG_INFO, "TRACE: Read node " << getPath()
|
SG_LOG(SG_GENERAL, SG_ALERT, "TRACE: Read node " << getPath()
|
||||||
<< ", value \"" << make_string() << '"');
|
<< ", value \"" << make_string() << '"');
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user