From WebOS101
Introduction
Logging Output
- Include <syslog.h>
- Open the log with: openlog("mypackageid", 0, LOG_USER);
- Write to the log with: syslog(LOG_INFO, "format", args);
- View the log with: tail -f /var/log/messages | grep packageid
Useful Links
Palm Developer Center: Debugging PDK Applications