1: <?php
2: /**
3: * Horde Log package
4: *
5: * This package is based on Zend_Log from the Zend Framework
6: * (http://framework.zend.com). Both that package and this
7: * one were written by Mike Naberezny and Chuck Hagenbuch.
8: *
9: * @author Mike Naberezny <mike@maintainable.com>
10: * @author Chuck Hagenbuch <chuck@horde.org>
11: * @category Horde
12: * @license http://www.horde.org/licenses/bsd BSD
13: * @package Log
14: */
15:
16: /**
17: * @author Mike Naberezny <mike@maintainable.com>
18: * @author Chuck Hagenbuch <chuck@horde.org>
19: * @category Horde
20: * @license http://www.horde.org/licenses/bsd BSD
21: * @package Log
22: */
23: interface Horde_Log_Formatter
24: {
25: /**
26: * Formats an event to be written by the handler.
27: *
28: * @param array $event Log event.
29: *
30: * @return string Formatted line.
31: */
32: public function format($event);
33:
34: }
35: