Provides an open event log handle for a body of code.
win32
with-windows-event-log-event-source (handle source-name &optional unc-server-name) &body body => values
handle⇩ |
A symbol. |
source-name⇩ | nil or a string. |
unc-server-name⇩ | nil or a string. |
body⇩ |
Lisp forms. |
values |
The values returned by body. |
The macro with-windows-event-log-event-source
provides an open event log handle for a body of code.
The macro with-windows-event-log-event-source
binds handle to an open event log handle, evaluates the forms of body and closes handle. The values of the last form in body are returned.
source-name is used as the name of the event source for recording events. If source-name is nil
then the name of the Lisp executable is used.
If unc-server-name is non-nil, then it specifies the UNC name of a server which records the events.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:08