[ Index ]
 

Code source de SPIP Agora 1.4

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

title

Body

[fermer]

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

$Header: /repository/pear/Log/Log/display.php,v 1.6 2004/11/27 21:46:50 jon Exp $

Version: $Revision: 1.6 $
Poids: 108 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

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


Classe: Log_display  - X-Ref

The Log_display class is a concrete implementation of the Log::
abstract class which writes message into browser in usual PHP maner.
This may be useful because when you use PEAR::setErrorHandling in
PEAR_ERROR_CALLBACK mode error messages are not displayed by
PHP error handler.

Log_display($name = '', $ident = '', $conf = array()   X-Ref
Constructs a new Log_display 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
Writes $message to the text browser. Also, passes the message
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