Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Log / Writer / WriterInterface.php
blob8501f5c42d6b5eaa1572753f55bb27ca9db64712
1 <?php
2 /**
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
8 */
10 namespace Zend\Log\Writer;
12 use Zend\Log\Filter\FilterInterface as Filter;
13 use Zend\Log\Formatter\FormatterInterface as Formatter;
15 interface WriterInterface
17 /**
18 * Add a log filter to the writer
20 * @param int|string|Filter $filter
21 * @return WriterInterface
23 public function addFilter($filter);
25 /**
26 * Set a message formatter for the writer
28 * @param string|Formatter $formatter
29 * @return WriterInterface
31 public function setFormatter($formatter);
33 /**
34 * Write a log message
36 * @param array $event
37 * @return WriterInterface
39 public function write(array $event);
41 /**
42 * Perform shutdown activities
44 * @return void
46 public function shutdown();