CakeLog Class Reference

List of all members.


Public Member Functions

 write ($type, $msg)

Detailed Description

Definition at line 59 of file cake_log.php.


Member Function Documentation

CakeLog::write ( type,
msg 
)

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 68 of file cake_log.php.

References $filename, $output, and debug().

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


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