IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 28, 2007, 4:17:50 PM (19 years ago)
Author:
Paul Price
Message:

Replacing calls to psLogMsg using PS_LOG_WARN with psWarning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConceptsStandard.c

    r11775 r12661  
    3333{
    3434    if (strcmp(pattern->name, "FPA.RA") == 0) {
    35         psLogMsg(__func__, PS_LOG_WARN, "Assuming format for %s is HOURS.\n", pattern->name);
     35        psWarning("Assuming format for %s is HOURS.\n", pattern->name);
    3636        return M_PI / 12.0;
    3737    }
    3838    if (strcmp(pattern->name, "FPA.DEC") == 0) {
    39         psLogMsg(__func__, PS_LOG_WARN, "Assuming format for %s is DEGREES.\n", pattern->name);
     39        psWarning("Assuming format for %s is DEGREES.\n", pattern->name);
    4040        return M_PI / 180.0;
    4141    }
     
    334334            while ((regionItem = psListGetAndIncrement(regionsIter))) {
    335335                if (regionItem->type != PS_DATA_STRING) {
    336                     psLogMsg(__func__, PS_LOG_WARN, "CELL.BIASSEC member is not of type STR --- ignored.\n");
     336                    psWarning("CELL.BIASSEC member is not of type STR --- ignored.\n");
    337337                    continue;
    338338                }
     
    457457    }
    458458    if (!mdok || (timeSys == 0xffffffff)) {
    459         psLogMsg(__func__, PS_LOG_WARN, "Unable to find %s in concepts when parsing %s --- assuming UTC.\n",
     459        psWarning("Unable to find %s in concepts when parsing %s --- assuming UTC.\n",
    460460                 timesysName, pattern->name);
    461461        timeSys = PS_TIME_UTC;
     
    962962                    separateTime = false;
    963963                } else {
    964                     psLogMsg(__func__, PS_LOG_WARN, "Unrecognised FORMATS option for %s: %s --- "
     964                    psWarning("Unrecognised FORMATS option for %s: %s --- "
    965965                             "ignored.\n", concept->name, format);
    966966                }
Note: See TracChangeset for help on using the changeset viewer.