mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Declaring SS_SysLogWriter::factory() to comply with changed parent interface
This commit is contained in:
parent
8249834cf6
commit
d4e42c2b11
@ -29,6 +29,14 @@ class SS_SysLogWriter extends Zend_Log_Writer_Abstract {
|
|||||||
public function __destruct() {
|
public function __destruct() {
|
||||||
closelog();
|
closelog();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param $option See {@link __construct}
|
||||||
|
* @return SS_SysLogWriter
|
||||||
|
*/
|
||||||
|
static public function factory($config) {
|
||||||
|
return new SS_SysLogWriter(null, $config);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Write to the system log with the event details.
|
* Write to the system log with the event details.
|
||||||
|
Loading…
Reference in New Issue
Block a user