- printf(" Planet found at %f (ra), %f (dec)\n",
- result.RightAscension, result.Declination);
- printf(" Geocentric dist %f\n"
- " Heliocentric dist %f\n"
- " Distance to the sun %f\n"
- " Phase angle %f\n"
- " Brightness %f\n", R, r, s, FV, result.magnitude);
+ fgPrintf( FG_ASTRO, FG_DEBUG,
+ " Planet found at %f (ra), %f (dec)\n",
+ result.RightAscension, result.Declination);
+ fgPrintf( FG_ASTRO, FG_DEBUG,
+ " Geocentric dist %f\n"
+ " Heliocentric dist %f\n"
+ " Distance to the sun %f\n"
+ " Phase angle %f\n"
+ " Brightness %f\n", R, r, s, FV, result.magnitude);