[ Index ]
 

Code source de SPIP Agora 1.4

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Pear/Log/ -> null.php (sommaire)

$Header: /repository/pear/Log/Log/null.php,v 1.3 2004/01/19 08:02:40 jon Exp $

Version: $Revision: 1.3 $
Poids: 68 lignes (2 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Log_null:: (2 méthodes):
  Log_null()
  log()


Classe: Log_null  - X-Ref

The Log_null class is a concrete implementation of the Log:: abstract
class.  It simply consumes log events.

Log_null($name, $ident = '', $conf = array()   X-Ref
Constructs a new Log_null object.

param: string $name     Ignored.
param: string $ident    The identity string.
param: array  $conf     The configuration array.
param: int    $level    Log messages up to and including this level.

log($message, $priority = null)   X-Ref
Simply consumes the log event.  The message will still be passed
along to any Log_observer instances that are observing this Log.

param: mixed  $message    String or object containing the message to log.
param: string $priority The priority of the message.  Valid
return: boolean  True on success or false on failure.



Généré le : Sat Feb 24 14:40:03 2007 par Balluche grâce à PHPXref 0.7