[ Index ]
 

Code source de SPIP Agora 1.4

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

title

Body

[fermer]

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

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

Version: $Revision: 1.19 $
Poids: 190 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Log_console:: (4 méthodes):
  Log_console()
  _Log_console()
  flush()
  log()


Classe: Log_console  - X-Ref

The Log_console class is a concrete implementation of the Log::
abstract class which writes message to the text console.

Log_console($name, $ident = '', $conf = array()   X-Ref
Constructs a new Log_console 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_console()   X-Ref
Destructor


flush()   X-Ref
Flushes all pending ("buffered") data to the output stream.


log($message, $priority = null)   X-Ref
Writes $message to the text console. 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