CakeLog Class Reference

List of all members.

Static Public Member Functions

 write ($type, $msg)

Detailed Description

Definition at line 57 of file cake_log.php.


Member Function Documentation

CakeLog::write ( type,
msg 
) [static]

Writes given message to a log file in the logs directory.

Parameters:
string $type Type of log, becomes part of the log's filename
string $msg Message to log
Returns:
boolean Success public

Definition at line 67 of file cake_log.php.

References $filename, $output, debug(), error(), info(), and writable().

Referenced by Debugger::handleError(), and Debugger::log().


The documentation for this class was generated from the following file:
Generated on Sun Nov 22 00:30:55 2009 for CakePHP 1.2.x.x (v1.2.4.8284) by doxygen 1.4.7