Changeset 963 for trunk/psLib/test/sysUtils/tst_psLogMsg02.c
- Timestamp:
- Jun 9, 2004, 2:09:26 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/sysUtils/tst_psLogMsg02.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sysUtils/tst_psLogMsg02.c
r852 r963 17 17 printPositiveTestHeader(stdout, 18 18 "psLogMsg functions", 19 "ps SetLogFormat()");19 "psLogSetFormat()"); 20 20 21 21 22 printf("------------- ps SetLogFormat() -------------\n");23 ps SetLogFormat("");22 printf("------------- psLogSetFormat() -------------\n"); 23 psLogSetFormat(""); 24 24 for (i=0;i<10;i++) { 25 25 psLogMsg(__func__, i, "Hello World! My level is %d\n", i); 26 26 } 27 27 28 printf("------------- ps SetLogFormat(T) -------------\n");29 ps SetLogFormat("T");28 printf("------------- psLogSetFormat(T) -------------\n"); 29 psLogSetFormat("T"); 30 30 for (i=0;i<10;i++) { 31 31 psLogMsg(__func__, i, "Hello World! My level is %d\n", i); 32 32 } 33 33 34 printf("------------- ps SetLogFormat(H) -------------\n");35 ps SetLogFormat("TH");34 printf("------------- psLogSetFormat(H) -------------\n"); 35 psLogSetFormat("TH"); 36 36 for (i=0;i<10;i++) { 37 37 psLogMsg(__func__, i, "Hello World! My level is %d\n", i); 38 38 } 39 39 40 printf("------------- ps SetLogFormat(L) -------------\n");41 ps SetLogFormat("L");40 printf("------------- psLogSetFormat(L) -------------\n"); 41 psLogSetFormat("L"); 42 42 for (i=0;i<10;i++) { 43 43 psLogMsg(__func__, i, "Hello World! My level is %d\n", i); 44 44 } 45 45 46 printf("------------- ps SetLogFormat(N) -------------\n");47 ps SetLogFormat("N");46 printf("------------- psLogSetFormat(N) -------------\n"); 47 psLogSetFormat("N"); 48 48 for (i=0;i<10;i++) { 49 49 psLogMsg(__func__, i, "Hello World! My level is %d\n", i); 50 50 } 51 51 52 printf("------------- ps SetLogFormat(M) -------------\n");53 ps SetLogFormat("M");52 printf("------------- psLogSetFormat(M) -------------\n"); 53 psLogSetFormat("M"); 54 54 for (i=0;i<10;i++) { 55 55 psLogMsg(__func__, i, "Hello World! My level is %d\n", i); 56 56 } 57 57 58 printf("------------- ps SetLogFormat(THLNM) -------------\n");59 ps SetLogFormat("THLNM");58 printf("------------- psLogSetFormat(THLNM) -------------\n"); 59 psLogSetFormat("THLNM"); 60 60 for (i=0;i<10;i++) { 61 61 psLogMsg(__func__, i, "Hello World! My level is %d\n", i); … … 64 64 printFooter(stdout, 65 65 "psLogMsg functions", 66 "ps SetLogFormat()",66 "psLogSetFormat()", 67 67 testStatus); 68 68
Note:
See TracChangeset
for help on using the changeset viewer.
