From: mfranz Date: Mon, 11 Jun 2007 16:09:50 +0000 (+0000) Subject: advance tracing messages from SG_INFO to SG_ALERT. If a developer has X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0096c1bb02c98c35f7219ba3b03796f2b806dcd4;p=simgear.git 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. --- diff --git a/simgear/props/props.cxx b/simgear/props/props.cxx index 786abf34..c0f2119d 100644 --- a/simgear/props/props.cxx +++ b/simgear/props/props.cxx @@ -598,7 +598,7 @@ SGPropertyNode::trace_write () const cerr << "TRACE: Write node " << getPath () << ", value\"" << make_string() << '"' << endl; #else - SG_LOG(SG_GENERAL, SG_INFO, "TRACE: Write node " << getPath() + SG_LOG(SG_GENERAL, SG_ALERT, "TRACE: Write node " << getPath() << ", value\"" << make_string() << '"'); #endif } @@ -613,7 +613,7 @@ SGPropertyNode::trace_read () const cerr << "TRACE: Write node " << getPath () << ", value \"" << make_string() << '"' << endl; #else - SG_LOG(SG_GENERAL, SG_INFO, "TRACE: Read node " << getPath() + SG_LOG(SG_GENERAL, SG_ALERT, "TRACE: Read node " << getPath() << ", value \"" << make_string() << '"'); #endif }