Mike,
Yes, Yes, YES!
CALL OSEventLog(Category, Type, EventID, DescriptionText)

surely that one is easy using GCI? If you really want it
(excuse the unix version, can error logging from C be that much harder in windows?)

#include <syslog.h>

void OSEventLog(int priority, char* message){
syslog(priority, message);
}

If you wanted to get fancy you could even use openlog to specify an identifier, logging facility etc.

Come to think of it, I might suggest this one to the boss.

Craig
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to