[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/log4php.debug/appenders/ -> LoggerAppenderDailyFile.php (summary)

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>

File Size: 97 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

LoggerAppenderDailyFile:: (4 methods):
  LoggerAppenderDailyFile()
  setDatePattern()
  getDatePattern()
  setFile()


Class: 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.




Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1