<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.swoole-funcs.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'es',
  ),
  'this' => 
  array (
    0 => 'function.swoole-error-log.php',
    1 => 'swoole_error_log',
    2 => 'Escribe los mensajes de error en el registro',
  ),
  'up' => 
  array (
    0 => 'ref.swoole-funcs.php',
    1 => 'Funciones de Swoole',
  ),
  'prev' => 
  array (
    0 => 'function.swoole-errno.php',
    1 => 'swoole_errno',
  ),
  'next' => 
  array (
    0 => 'function.swoole-event-add.php',
    1 => 'swoole_event_add',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'es',
    'path' => 'reference/swoole/functions/swoole-error-log.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.swoole-error-log" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">swoole_error_log</h1>
  <p class="verinfo">(PECL swoole &gt;= 4.5.8)</p><p class="refpurpose"><span class="refname">swoole_error_log</span> &mdash; <span class="dc-title">Escribe los mensajes de error en el registro</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.swoole-error-log-description">
  <h3 class="title">Descripción</h3>
  <div class="methodsynopsis dc-description"><span class="methodname"><strong>swoole_error_log</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$level</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$msg</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   Escribe los mensajes de error en el registro.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.swoole-error-log-parameters">
  <h3 class="title">Parámetros</h3>
  <dl>
   
    <dt><code class="parameter">level</code></dt>
    <dd>
     <p class="para">
      El nivel de registro, las siguientes constantes pueden ser utilizadas: <strong><code><a href="swoole.constants.php#constant.swoole-log-debug">SWOOLE_LOG_DEBUG</a></code></strong>,
      <strong><code><a href="swoole.constants.php#constant.swoole-log-trace">SWOOLE_LOG_TRACE</a></code></strong>,
      <strong><code><a href="swoole.constants.php#constant.swoole-log-info">SWOOLE_LOG_INFO</a></code></strong>,
      <strong><code><a href="swoole.constants.php#constant.swoole-log-notice">SWOOLE_LOG_NOTICE</a></code></strong>,
      <strong><code><a href="swoole.constants.php#constant.swoole-log-warning">SWOOLE_LOG_WARNING</a></code></strong>,
      <strong><code><a href="swoole.constants.php#constant.swoole-log-error">SWOOLE_LOG_ERROR</a></code></strong>,
      <strong><code><a href="swoole.constants.php#constant.swoole-log-none">SWOOLE_LOG_NONE</a></code></strong>
     </p>
    </dd>
   
   
    <dt><code class="parameter">msg</code></dt>
    <dd>
     <p class="para">
      El contenido del mensaje a escribir en el registro.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.swoole-error-log-returnvalues">
  <h3 class="title">Valores devueltos</h3>
  <p class="para">
   No se retorna ningún valor.
  </p>
 </div>

</div><?php manual_footer($setup); ?>