SS_LogFileWriter
class SS_LogFileWriter extends Zend_Log_Writer_Abstract (View source)
Writes an error message to a file.
Note: You need to make sure your web server is able to write to the file path that you specify to write logs to.
Properties
protected | string | $path | The path to the file that errors will be stored in. |
|
protected | int | $messageType | Message type to pass to error_log() |
|
protected | string | $extraHeaders | Extra headers to pass to error_log() |
Methods
Details
__construct($path, $messageType = 3, $extraHeaders = '')
No description
static
factory($path, $messageType = 3, $extraHeaders = '')
No description
_write($event)
Write the log message to the file path set in this writer.