MINOR Declaring SS_SysLogWriter::factory() to comply with changed parent interface

This commit is contained in:
Ingo Schommer 2011-08-12 16:19:39 +02:00
parent 8249834cf6
commit d4e42c2b11
1 changed files with 8 additions and 0 deletions

View File

@ -29,6 +29,14 @@ class SS_SysLogWriter extends Zend_Log_Writer_Abstract {
public function __destruct() {
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.