IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 29, 2004, 3:56:40 PM (22 years ago)
Author:
desonia
Message:

fixed tests for psLogSetFormat; added support for NULL and fixed a bug
in it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sysUtils/tst_psLogMsg02.c

    r1022 r1140  
    2020
    2121
    22     printf("------------- psLogSetFormat() -------------\n");
     22    fprintf(stderr,"------------- psLogSetFormat() -------------\n");
    2323    psLogSetFormat("");
     24    for (i=0;i<10;i++) {
     25        psLogMsg(__func__, i, "Hello World!  My level is %d\n", i);
     26    }
     27
     28    printf("------------- psLogSetFormat(NULL) -------------\n");
     29    psLogSetFormat(NULL);
    2430    for (i=0;i<10;i++) {
    2531        psLogMsg(__func__, i, "Hello World!  My level is %d\n", i);
Note: See TracChangeset for help on using the changeset viewer.