reference/network/functions/syslog.xml
61374bbe228e8e9c55a24aba59a1e2bb2a871148
...
...
@@ -9,7 +9,7 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>bool</type><methodname>syslog</methodname>
12
+
<type>true</type><methodname>syslog</methodname>
13
13
<methodparam><type>int</type><parameter>priority</parameter></methodparam>
14
14
<methodparam><type>string</type><parameter>message</parameter></methodparam>
15
15
</methodsynopsis>
...
...
@@ -89,10 +89,7 @@
89
89
<term><parameter>message</parameter></term>
90
90
<listitem>
91
91
<para>
92
-
The message to send, except that the two characters
93
-
<literal>%m</literal> will be replaced by the error message string
94
-
(strerror) corresponding to the present value of
95
-
<errortype>errno</errortype>.
92
+
The message to send.
96
93
</para>
97
94
</listitem>
98
95
</varlistentry>
...
...
@@ -103,7 +100,7 @@
103
100
<refsect1 role="returnvalues">
104
101
&reftitle.returnvalues;
105
102
<para>
106
-
&return.success;
103
+
&return.true.always;
107
104
</para>
108
105
</refsect1>
109
106

...
...
@@ -142,12 +139,12 @@ closelog();
142
139
<refsect1 role="notes">
143
140
&reftitle.notes;
144
141
<para>
145
-
On Windows NT, the syslog service is emulated using the Event
142
+
On Windows, the syslog service is emulated using the Event
146
143
Log.
147
144
</para>
148
145
<note>
149
146
<para>
150
-
Use of <literal>LOG_LOCAL0</literal> through
147
+
Use of <constant>LOG_LOCAL0</constant> through
151
148
<literal>LOG_LOCAL7</literal> for the <parameter>facility</parameter>
152
149
parameter of <function>openlog</function> is not available
153
150
in Windows.
...
...
@@ -161,12 +158,12 @@ closelog();
161
158
<simplelist>
162
159
<member><function>openlog</function></member>
163
160
<member><function>closelog</function></member>
161
+
<member><link linkend="ini.syslog.filter">syslog.filter</link> INI setting (starting with PHP 7.3)</member>
164
162
</simplelist>
165
163
</para>
166
164
</refsect1>
167
165

168
166
</refentry>
169
-

170
167
<!-- Keep this comment at the end of the file
171
168
Local variables:
172
169
mode: sgml
173
170