public function __construct($filename, ILogMessageFormatter $formatter = null, array $filters = array())
 {
     parent::__construct($formatter, $filters);
     $this->filename = $filename;
     $this->handle = @fopen($filename, 'a', false);
     if ($this->handle === false) {
         throw new RuntimeException("Cannot open file '{$filename}' for writing");
     }
 }
 public function __construct(array $handlers, array $filters = array())
 {
     parent::__construct(null, $filters);
     $this->handlers = $handlers;
 }