3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
10 namespace Zend\Log\Writer
;
12 use Zend\Log\Filter\FilterInterface
as Filter
;
13 use Zend\Log\Formatter\FormatterInterface
as Formatter
;
15 interface WriterInterface
18 * Add a log filter to the writer
20 * @param int|string|Filter $filter
21 * @return WriterInterface
23 public function addFilter($filter);
26 * Set a message formatter for the writer
28 * @param string|Formatter $formatter
29 * @return WriterInterface
31 public function setFormatter($formatter);
37 * @return WriterInterface
39 public function write(array $event);
42 * Perform shutdown activities
46 public function shutdown();