CakeLog Class Reference

List of all members.


Public Member Functions

 write ($type, $msg)

Detailed Description

Definition at line 42 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

Definition at line 50 of file cake_log.php.

References $filename, and $output.


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