Changeset 963 for trunk/psLib/test/sysUtils/tst_psLogMsg03.c
- Timestamp:
- Jun 9, 2004, 2:09:26 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/sysUtils/tst_psLogMsg03.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sysUtils/tst_psLogMsg03.c
r852 r963 18 18 printPositiveTestHeader(stdout, 19 19 "psLogMsg functions", 20 "ps SetLogDestination()");20 "psLogSetDestination()"); 21 21 22 printf("------------- ps SetLogDestination(PS_LOG_NONE) -------------\n");23 ps SetLogDestination(PS_LOG_NONE);22 printf("------------- psLogSetDestination(PS_LOG_NONE) -------------\n"); 23 psLogSetDestination(PS_LOG_NONE); 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 SetLogDestination(PS_LOG_TO_STDERR) -------------\n");29 ps SetLogDestination(PS_LOG_TO_STDERR);28 printf("------------- psLogSetDestination(PS_LOG_TO_STDERR) -------------\n"); 29 psLogSetDestination(PS_LOG_TO_STDERR); 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 SetLogDestination(PS_LOG_TO_STDOUT) -------------\n");35 ps SetLogDestination(PS_LOG_TO_STDOUT);34 printf("------------- psLogSetDestination(PS_LOG_TO_STDOUT) -------------\n"); 35 psLogSetDestination(PS_LOG_TO_STDOUT); 36 36 for (i=0;i<10;i++) { 37 37 psLogMsg(__func__, i, "Hello World! My level is %d\n", i); … … 40 40 printFooter(stdout, 41 41 "psLogMsg functions", 42 "ps SetLogDestination()",42 "psLogSetDestination()", 43 43 testStatus); 44 44
Note:
See TracChangeset
for help on using the changeset viewer.
