EventLog
[ ]
[ ]
[ ]
[ ]
[ ]
Source for file mapper.php
Documentation is available at mapper.php
1. <?php
2. /**
3. * File containing the ezcLogMapper interface.
4. *
5. * @package EventLog
6. * @version 1.4
7. * @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.
8. * @license http://ez.no/licenses/new_bsd New BSD License
9. */
10.
11. /**
12. * The ezcLogMapper provides a public interface to implement a mapper.
13. *
14. * The ezcLogMapper interface has one method that must be implemented.
15. * This method returns a writer (or in some cases a string) that matches the
16. * incoming message.
17. *
18. * An implementation of ezcLogMapper is the {@link ezcLogFilterSet}.
19. *
20. * @package EventLog
21. * @version 1.4
22. */
23. interface ezcLogMapper
24. {
25. /**
26. * Returns the containers (results) that are mapped to this $severity, $source, and $category.
27. *
28. * @param int $severity
29. * @param string $source
30. * @param string $category
31. * @return mixed|ezcLogWriter
32. */
33. public function get( $severity, $source, $category );
34. }
35. ?>
Last updated: Tue, 01 Sep 2009