mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Update User Guide
This commit is contained in:
parent
45390555f5
commit
427c9cfaf7
@ -305,7 +305,7 @@
|
|||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</li>
|
</li>
|
||||||
<li><p>The <code class="docutils literal notranslate"><span class="pre">spark</span> <span class="pre">routes</span></code> command now shows closure routes, auto routtes, and filters. See <a class="reference internal" href="../incoming/routing.html#spark-routes"><span class="std std-ref">URI Routing</span></a>.</p></li>
|
<li><p>The <code class="docutils literal notranslate"><span class="pre">spark</span> <span class="pre">routes</span></code> command now shows closure routes, auto routes, and filters. See <a class="reference internal" href="../incoming/routing.html#spark-routes"><span class="std std-ref">URI Routing</span></a>.</p></li>
|
||||||
<li><dl class="simple">
|
<li><dl class="simple">
|
||||||
<dt>Exception information logged through <code class="docutils literal notranslate"><span class="pre">log_message()</span></code> has now improved. It now includes the file and line where the exception originated. It also does not truncate the message anymore.</dt><dd><ul>
|
<dt>Exception information logged through <code class="docutils literal notranslate"><span class="pre">log_message()</span></code> has now improved. It now includes the file and line where the exception originated. It also does not truncate the message anymore.</dt><dd><ul>
|
||||||
<li><p>The log format has also changed. If users are depending on the log format in their apps, the new log format is “<1-based count> <cleaned filepath>(<line>): <class><function><args>”</p></li>
|
<li><p>The log format has also changed. If users are depending on the log format in their apps, the new log format is “<1-based count> <cleaned filepath>(<line>): <class><function><args>”</p></li>
|
||||||
@ -332,6 +332,7 @@
|
|||||||
<li><p><code class="docutils literal notranslate"><span class="pre">CodeIgniter\Debug\Exceptions::cleanPath()</span></code> and <code class="docutils literal notranslate"><span class="pre">CodeIgniter\Debug\Toolbar\Collectors\BaseCollector::cleanPath()</span></code> are deprecated. Use the <code class="docutils literal notranslate"><span class="pre">clean_path()</span></code> function instead.</p></li>
|
<li><p><code class="docutils literal notranslate"><span class="pre">CodeIgniter\Debug\Exceptions::cleanPath()</span></code> and <code class="docutils literal notranslate"><span class="pre">CodeIgniter\Debug\Toolbar\Collectors\BaseCollector::cleanPath()</span></code> are deprecated. Use the <code class="docutils literal notranslate"><span class="pre">clean_path()</span></code> function instead.</p></li>
|
||||||
<li><p><code class="docutils literal notranslate"><span class="pre">CodeIgniter\Log\Logger::cleanFilenames()</span></code> and <code class="docutils literal notranslate"><span class="pre">CodeIgniter\Test\TestLogger::cleanup()</span></code> are both deprecated. Use the <code class="docutils literal notranslate"><span class="pre">clean_path()</span></code> function instead.</p></li>
|
<li><p><code class="docutils literal notranslate"><span class="pre">CodeIgniter\Log\Logger::cleanFilenames()</span></code> and <code class="docutils literal notranslate"><span class="pre">CodeIgniter\Test\TestLogger::cleanup()</span></code> are both deprecated. Use the <code class="docutils literal notranslate"><span class="pre">clean_path()</span></code> function instead.</p></li>
|
||||||
<li><p><code class="docutils literal notranslate"><span class="pre">CodeIgniter\Router\Router::setDefaultController()</span></code> is deprecated.</p></li>
|
<li><p><code class="docutils literal notranslate"><span class="pre">CodeIgniter\Router\Router::setDefaultController()</span></code> is deprecated.</p></li>
|
||||||
|
<li><p>The constant <code class="docutils literal notranslate"><span class="pre">SPARKED</span></code> in <strong>spark</strong> is deprecated. Use the <code class="docutils literal notranslate"><span class="pre">$context</span></code> property in <code class="docutils literal notranslate"><span class="pre">CodeIgniter\CodeIgniter</span></code> instead.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section id="bugs-fixed">
|
<section id="bugs-fixed">
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user