Class SS_LogFileWriter
Sends an error message to an email whenever an error occurs in sapphire.
Note: You need to make sure your web server is able to write to the file path that you specify to write logs to.
- Zend_Log_Writer_Abstract
-
SS_LogFileWriter
Package: sapphire\dev
See: SS_Log for more information on using writers.
Uses: error_log() built-in PHP function.
Located at sapphire/dev/LogFileWriter.php
See: SS_Log for more information on using writers.
Uses: error_log() built-in PHP function.
Located at sapphire/dev/LogFileWriter.php
Methods summary
public
|
|
public
|
Magic methods summary
Properties summary
protected
string
|
$path |
#
The path to the file that errors will be stored in. For example, "/var/logs/silverstripe/errors.log". |
protected
integer
|
$messageType |
#
Message type to pass to error_log() |
protected
string
|
$extraHeaders |
#
Extra headers to pass to error_log() |