1: <?php
2:
3: /*
4: * This file is part of SwiftMailer.
5: * (c) 2004-2009 Chris Corbyn
6: *
7: * For the full copyright and license information, please view the LICENSE
8: * file that was distributed with this source code.
9: */
10:
11: /**
12: * Logs events in the Transport system.
13: * @package Swift
14: * @subpackage Transport
15: * @author Chris Corbyn
16: */
17: interface Swift_Plugins_Logger
18: {
19: /**
20: * Add a log entry.
21: * @param string $entry
22: */
23: public function add($entry);
24:
25: /**
26: * Clear the log contents.
27: */
28: public function clear();
29:
30: /**
31: * Get this log as a string.
32: * @return string
33: */
34: public function dump();
35: }
36: