From 77c176424e0fb9d9ab7524ceeedbf2655f8d6736 Mon Sep 17 00:00:00 2001 From: mfranz Date: Sun, 1 Apr 2007 12:23:54 +0000 Subject: [PATCH] Ron JENSEN: turn cout into SG_LOG/SG_WARN (merge from JSBSim/cvs) --- src/FDM/JSBSim/JSBSim.cxx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/FDM/JSBSim/JSBSim.cxx b/src/FDM/JSBSim/JSBSim.cxx index 53a73e782..e8e489846 100644 --- a/src/FDM/JSBSim/JSBSim.cxx +++ b/src/FDM/JSBSim/JSBSim.cxx @@ -425,10 +425,14 @@ void FGJSBsim::update( double dt ) if (!cache_ok) { SG_LOG(SG_FLIGHT, SG_WARN, "FGInterface is being called without scenery below the aircraft!"); - cout << "altitude = " << alt << endl; - cout << "sea level radius = " << slr << endl; - cout << "latitude = " << lat << endl; - cout << "longitude = " << lon << endl; + SG_LOG(SG_FLIGHT, SG_WARN, + "altitude = " << alt); + SG_LOG(SG_FLIGHT, SG_WARN, + "sea level radius = " << slr); + SG_LOG(SG_FLIGHT, SG_WARN, + "latitude = " << lat); + SG_LOG(SG_FLIGHT, SG_WARN, + "longitude = " << lon); //return; }