diff options
Diffstat (limited to 'docs/manual/developer/new_api_2_4.html.en')
-rw-r--r-- | docs/manual/developer/new_api_2_4.html.en | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/manual/developer/new_api_2_4.html.en b/docs/manual/developer/new_api_2_4.html.en index 6a4c68cd32..93d33f97ec 100644 --- a/docs/manual/developer/new_api_2_4.html.en +++ b/docs/manual/developer/new_api_2_4.html.en @@ -164,8 +164,9 @@ <ul> <li>Introduce per-directory, per-module loglevel</li> <li>New loglevels APLOG_TRACEn</li> - <li>ap_log_*error become macro wrappers (fully back-compatible if - APLOG_MARK macro is used)</li> + <li>ap_log_*error become macro wrappers (back-compatible if + APLOG_MARK macro is used, except that is no longer possible to + use #ifdef inside the argument list)</li> <li>piped logging revamped</li> <li>module_index added to error_log hook</li> <li>new function: ap_log_command_line</li> @@ -336,6 +337,11 @@ <br /> </code></p></div> + <p><code>ap_log_*error</code> are now implemented as macros. This means + that it is no longer possible to use <code>#ifdef</code> inside the + argument list of <code>ap_log_*error</code>, as this would cause + undefined behavor according to C99.</p> + <p>A <code>server_rec</code> pointer must be passed to <code>ap_log_error()</code> when called after startup. This was always appropriate, but there are even more limitations with @@ -525,6 +531,6 @@ <div class="bottomlang"> <p><span>Available Languages: </span><a href="../en/developer/new_api_2_4.html" title="English"> en </a></p> </div><div id="footer"> -<p class="apache">Copyright 2011 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2012 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div> </body></html>
\ No newline at end of file |