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

public
__construct($path, $messageType = 3, $extraHeaders = '')

No description

public static 
factory($path, $messageType = 3, $extraHeaders = '')

No description

public
_write($event)

Write the log message to the file path set in this writer.

Details

__construct($path, $messageType = 3, $extraHeaders = '')

No description

Parameters

$path
$messageType
$extraHeaders

static factory($path, $messageType = 3, $extraHeaders = '')

No description

Parameters

$path
$messageType
$extraHeaders

_write($event)

Write the log message to the file path set in this writer.

Parameters

$event