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 */
17interface Swift_Plugins_Logger
18{
19
20  /**
21   * Add a log entry.
22   * @param string $entry
23   */
24  public function add($entry);
25
26  /**
27   * Clear the log contents.
28   */
29  public function clear();
30
31  /**
32   * Get this log as a string.
33   * @return string
34   */
35  public function dump();
36
37}
38