From: david Date: Mon, 24 Nov 2003 17:41:43 +0000 (+0000) Subject: Minor changes to logging messages (to STDOUT). X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;ds=sidebyside;h=c37afce3031e886ed7645c7c50dd9a9b8cfd93d5;p=simgear.git Minor changes to logging messages (to STDOUT). --- diff --git a/simgear/scene/material/matlib.cxx b/simgear/scene/material/matlib.cxx index 79404622..5a5114fe 100644 --- a/simgear/scene/material/matlib.cxx +++ b/simgear/scene/material/matlib.cxx @@ -254,7 +254,7 @@ bool SGMaterialLib::load( const string &fg_root, const string& mpath ) { << names[j]->getStringValue() ); } } else { - SG_LOG(SG_INPUT, SG_ALERT, + SG_LOG(SG_INPUT, SG_WARN, "Skipping bad material entry " << node->getName()); } } diff --git a/simgear/scene/sky/cloud.cxx b/simgear/scene/sky/cloud.cxx index 8fda6394..94daa633 100644 --- a/simgear/scene/sky/cloud.cxx +++ b/simgear/scene/sky/cloud.cxx @@ -150,7 +150,7 @@ SGCloudLayer::rebuild() if ( !state_initialized ) { state_initialized = true; - cout << "initializing cloud layers" << endl; + SG_LOG(SG_ASTRO, SG_INFO, "initializing cloud layers"); SGPath cloud_path; @@ -459,7 +459,7 @@ void SGCloudLayer::draw() { ssgSimpleState *sgCloudMakeState( const string &path ) { ssgSimpleState *state = new ssgSimpleState(); - cout << " texture = " << path << endl; + SG_LOG(SG_ASTRO, SG_INFO, " texture = "); state->setTexture( (char *)path.c_str() ); state->setShadeModel( GL_SMOOTH );