5 library(syslog): Unix syslog interface
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog C-library
library(syslog): Unix syslog interface
openlog/3
syslog/2
syslog/3
closelog/0
debug_print_hook/3
Availability:
:- use_module(
library(syslog)
).
(can be autoloaded)
[det]
syslog
(
+Priority, +Message
)
Send a message to the system log. Note that
syslog/2
implicitly opens a connection to the system log if such a connection has not been opened explicitly using
openlog/3
.
Priority
is one of
emerg
,
alert
,
crit
,
err
,
warning
,
notice
,
info
or
debug
.