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 *
14 * @author Chris Corbyn
15 */
16interface Swift_Plugins_Logger
17{
18    /**
19     * Add a log entry.
20     *
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     *
33     * @return string
34     */
35    public function dump();
36}
37