aboutsummaryrefslogtreecommitdiff
path: root/h-source/External/swiftmailer/lib/classes/Swift/Plugins/Logger.php
blob: 9864da0dda5c46bbda013f762117b5074106fe19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php

/*
 * This file is part of SwiftMailer.
 * (c) 2004-2009 Chris Corbyn
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * Logs events in the Transport system.
 * @package Swift
 * @subpackage Transport
 * @author Chris Corbyn
 */
interface Swift_Plugins_Logger
{
  
  /**
   * Add a log entry.
   * @param string $entry
   */
  public function add($entry);
  
  /**
   * Clear the log contents.
   */
  public function clear();
  
  /**
   * Get this log as a string.
   * @return string
   */
  public function dump();
  
}