AnewtLogHandlerFile Class Reference

Log handler that saves all output to a file. More...

List of all members.

Public Member Functions

 __construct ($filename, $timestamps=true)
 Constructor for the AnewtLogHandlerFile.
 log ($domain, $level, $message)
 Log a message.

Private Attributes

 $fp
 File descriptor.
 $timestamps
 Whether to output timestamps.


Detailed Description

Log handler that saves all output to a file.

Definition at line 127 of file loghandlers.lib.php.


Constructor & Destructor Documentation

AnewtLogHandlerFile::__construct ( filename,
timestamps = true 
)

Constructor for the AnewtLogHandlerFile.

Parameters:
$filename The filename to log to.
$timestamps Whether to enable timestamp output in the log file (on by default).

Definition at line 141 of file loghandlers.lib.php.


Member Function Documentation

AnewtLogHandlerFile::log ( domain,
level,
message 
)

Log a message.

Parameters:
$domain 
$level 
$message 
See also:
AnewtLogHandlerBase::log

Reimplemented from AnewtLogHandlerBase.

Definition at line 159 of file loghandlers.lib.php.


The documentation for this class was generated from the following file:

Generated on Sun Aug 2 22:54:38 2009 for Anewt by  doxygen 1.5.9