Skip to content

Commit 03bdd81

Browse files
authored
Update syslog.xml to En
1 parent 2f85c71 commit 03bdd81

File tree

1 file changed

+15
-49
lines changed

1 file changed

+15
-49
lines changed

reference/network/functions/syslog.xml

Lines changed: 15 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 61374bbe228e8e9c55a24aba59a1e2bb2a871148 Maintainer: bfl Status: ready -->
2+
<!-- EN-Revision: 35ca7f1087870c6023ef7a3dd0248501741c8194 Maintainer: bfl Status: ready -->
33
<!-- Reviewed: no -->
44
<refentry xml:id="function.syslog" xmlns="http://docbook.org/ns/docbook">
55
<refnamediv>
@@ -33,60 +33,26 @@
3333
<term><parameter>priority</parameter></term>
3434
<listitem>
3535
<para>
36-
Параметр <parameter>priority</parameter> — комбинация типа и уровня. Возможные значения:
37-
<table>
38-
<title>Приоритеты <function>syslog</function> (по убыванию)</title>
39-
<tgroup cols="2">
40-
<thead>
41-
<row>
42-
<entry>Константа</entry>
43-
<entry>Описание</entry>
44-
</row>
45-
</thead>
46-
<tbody>
47-
<row>
48-
<entry><constant>LOG_EMERG</constant></entry>
49-
<entry>система непригодна</entry>
50-
</row>
51-
<row>
52-
<entry><constant>LOG_ALERT</constant></entry>
53-
<entry>необходимы незамедлительные меры</entry>
54-
</row>
55-
<row>
56-
<entry><constant>LOG_CRIT</constant></entry>
57-
<entry>критические условия</entry>
58-
</row>
59-
<row>
60-
<entry><constant>LOG_ERR</constant></entry>
61-
<entry>условия ошибки</entry>
62-
</row>
63-
<row>
64-
<entry><constant>LOG_WARNING</constant></entry>
65-
<entry>условия предупреждения</entry>
66-
</row>
67-
<row>
68-
<entry><constant>LOG_NOTICE</constant></entry>
69-
<entry>нормальные, но значительное условие</entry>
70-
</row>
71-
<row>
72-
<entry><constant>LOG_INFO</constant></entry>
73-
<entry>информационное сообщение</entry>
74-
</row>
75-
<row>
76-
<entry><constant>LOG_DEBUG</constant></entry>
77-
<entry>сообщение отладки</entry>
78-
</row>
79-
</tbody>
80-
</tgroup>
81-
</table>
36+
Параметр принимает значение в виде константы из следующего списка:
37+
<simplelist type="inline">
38+
<member><constant>LOG_EMERG</constant></member>
39+
<member><constant>LOG_ALERT</constant></member>
40+
<member><constant>LOG_CRIT</constant></member>
41+
<member><constant>LOG_ERR</constant></member>
42+
<member><constant>LOG_WARNING</constant></member>
43+
<member><constant>LOG_NOTICE</constant></member>
44+
<member><constant>LOG_INFO</constant></member>
45+
<member><constant>LOG_DEBUG</constant></member>
46+
</simplelist>
47+
constants
8248
</para>
8349
</listitem>
8450
</varlistentry>
8551
<varlistentry>
8652
<term><parameter>message</parameter></term>
8753
<listitem>
8854
<para>
89-
Отсылаемое сообщение.
55+
Сообщение, которое требуется отправить.
9056
</para>
9157
</listitem>
9258
</varlistentry>
@@ -105,7 +71,7 @@
10571
&reftitle.examples;
10672
<para>
10773
<example>
108-
<title>Пример использования <function>syslog</function></title>
74+
<title>Пример генерации сообщения для системного журнала функцией <function>syslog</function></title>
10975
<programlisting role="php">
11076
<![CDATA[
11177
<?php

0 commit comments

Comments
 (0)