1
0
Fork 0

Set default LogLevel = SG_INFO.

This commit is contained in:
curt 2005-12-19 15:56:11 +00:00
parent c1bec7b6c2
commit f8a6310993

View file

@ -325,7 +325,7 @@ void processLine(SHPObject* psShape,
for (j=psShape->panPartStart[iPart];j<partEnd;j++) { for (j=psShape->panPartStart[iPart];j<partEnd;j++) {
#if 0 #if 0
SG_LOG( SG_GENERAL, SG_DEBUG, SG_LOG( SG_GENERAL, SG_DEBUG,
" Point (" " Point " << j << " ("
<< psShape->padfX[j] << ", " << psShape->padfX[j] << ", "
<< psShape->padfY[j] << ")"); << psShape->padfY[j] << ")");
#endif #endif
@ -413,7 +413,7 @@ int main( int argc, char **argv ) {
SGPath programPath(progname); SGPath programPath(progname);
string force_area_type = ""; string force_area_type = "";
sglog().setLogLevels( SG_ALL, SG_DEBUG ); sglog().setLogLevels( SG_ALL, SG_INFO );
if (programPath.file()=="noaa-decode") { if (programPath.file()=="noaa-decode") {
SG_LOG( SG_GENERAL, SG_INFO, "Entering noaa-decode mode" ); SG_LOG( SG_GENERAL, SG_INFO, "Entering noaa-decode mode" );