Syslog package

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Syslog package

Schwab,Wilhelm K
Göran,

I found your Syslog package, and was quick to lean toward the FFI form largely because when combined with Gnome's log file viewer and a filter, it will hopefully be similar to OutputDebugString + DebugView on Windows.  I had to change the call to

syslog: severity message: aString
        "private use
        void  syslog(int, const char *, ...)"
        <cdecl: void 'syslog' ( long char* ) module: '/lib/libc.so.6'>
        ^self externalCallFailed

You mentioned that your version might work only on your machine.  Is there a correct way to do this that will be independent of the Linux distribution or libc version?


Bill


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project