[squeak-dev] Syslog package

Schwab,Wilhelm K bschwab at anest.ufl.edu
Tue Oct 19 23:15:55 UTC 2010


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




More information about the Squeak-dev mailing list