Anonymous user
Write to Windows event log: Difference between revisions
Added PicoLisp
(Added PicoLisp) |
|||
Line 52:
WriteLog('Message to log.');
end.</lang>
=={{header|PicoLisp}}==
PicoLisp doesn't run on Windows. In case of Linux, the equivalent of the event log is the syslog. It can be written with '[http://software-lab.de/doc/refN.html#native native]' C functions, or simply with the 'logger' utility:
<lang PicoLisp>: (call 'logger "This is a test")
-> T
: (call 'logger "This" 'is "another" 'test)
-> T</lang>
=={{header|PureBasic}}==
|