[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/log4php/appenders/ -> LoggerAppenderDailyFile.php (sommaire)

log4php is a PHP port of the log4j java logging package. <p>This framework is based on log4j (see {@link http://jakarta.apache.org/log4j log4j} for details).</p> <p>Design, strategies and part of the methods documentation are developed by log4j team (Ceki Gülcü as log4j project founder and {@link http://jakarta.apache.org/log4j/docs/contributors.html contributors}).</p>

Poids: 97 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

LoggerAppenderDailyFile:: (4 méthodes):
  LoggerAppenderDailyFile()
  setDatePattern()
  getDatePattern()
  setFile()


Classe: LoggerAppenderDailyFile  - X-Ref

LoggerAppenderDailyFile appends log events to a file ne.

A formatted version of the date pattern is used as to create the file name
using the {@link PHP_MANUAL#sprintf} function.
<p>Parameters are {@link $datePattern}, {@link $file}. Note that file
parameter should include a '%s' identifier and should always be set
before {@link $file} param.</p>

LoggerAppenderDailyFile($name)   X-Ref
Constructor

param: string $name appender name

setDatePattern( $format )   X-Ref
Sets date format for the file name.

param: string $format a regular date() string format

getDatePattern( )   X-Ref

return: string returns date format for the filename

setFile()   X-Ref
The File property takes a string value which should be the name of the file to append to.
Sets and opens the file where the log output will go.




Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7