Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_perl_module.xml @ 3089:23b9cbb0c11d
Documented $r->log_error() logging level.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 14 Jun 2024 22:35:31 +0300 |
parents | c6581f9aefa3 |
children |
comparison
equal
deleted
inserted
replaced
3088:7b7dbaa7d777 | 3089:23b9cbb0c11d |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_perl_module" | 10 <module name="Module ngx_http_perl_module" |
11 link="/en/docs/http/ngx_http_perl_module.html" | 11 link="/en/docs/http/ngx_http_perl_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="7"> | 13 rev="8"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_perl_module</literal> module is used to implement | 18 The <literal>ngx_http_perl_module</literal> module is used to implement |
318 | 318 |
319 <tag-name><literal>$r->log_error(<value>errno</value>, | 319 <tag-name><literal>$r->log_error(<value>errno</value>, |
320 <value>message</value>)</literal></tag-name> | 320 <value>message</value>)</literal></tag-name> |
321 <tag-desc> | 321 <tag-desc> |
322 writes the specified <value>message</value> into the | 322 writes the specified <value>message</value> into the |
323 <link doc="../ngx_core_module.xml" id="error_log"/>. | 323 <link doc="../ngx_core_module.xml" id="error_log"/> |
324 at the <literal>error</literal> level. | |
324 If <value>errno</value> is non-zero, an error code and its description | 325 If <value>errno</value> is non-zero, an error code and its description |
325 will be appended to the message. | 326 will be appended to the message. |
326 </tag-desc> | 327 </tag-desc> |
327 | 328 |
328 <tag-name><literal>$r->print(<value>text</value>, ...)</literal></tag-name> | 329 <tag-name><literal>$r->print(<value>text</value>, ...)</literal></tag-name> |