Ron JENSEN: turn cout into SG_LOG/SG_WARN (merge from JSBSim/cvs)
This commit is contained in:
parent
724ba5b4ad
commit
77c176424e
1 changed files with 8 additions and 4 deletions
|
@ -425,10 +425,14 @@ void FGJSBsim::update( double dt )
|
||||||
if (!cache_ok) {
|
if (!cache_ok) {
|
||||||
SG_LOG(SG_FLIGHT, SG_WARN,
|
SG_LOG(SG_FLIGHT, SG_WARN,
|
||||||
"FGInterface is being called without scenery below the aircraft!");
|
"FGInterface is being called without scenery below the aircraft!");
|
||||||
cout << "altitude = " << alt << endl;
|
SG_LOG(SG_FLIGHT, SG_WARN,
|
||||||
cout << "sea level radius = " << slr << endl;
|
"altitude = " << alt);
|
||||||
cout << "latitude = " << lat << endl;
|
SG_LOG(SG_FLIGHT, SG_WARN,
|
||||||
cout << "longitude = " << lon << endl;
|
"sea level radius = " << slr);
|
||||||
|
SG_LOG(SG_FLIGHT, SG_WARN,
|
||||||
|
"latitude = " << lat);
|
||||||
|
SG_LOG(SG_FLIGHT, SG_WARN,
|
||||||
|
"longitude = " << lon);
|
||||||
//return;
|
//return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue