Tscope5
Main Page
Related Pages
Files
Examples
system2.c
write log and error exit
#include <tscope5.h>
int
main()
{
ts5_set_log_level
(TS5_LOGLEVEL_0);
ts5_log
(TS5_LOGLEVEL_0,
"a log message\n"
);
ts5_fatal
(
"an error message\n"
);
return
0;
}