/Swift/Log.php

Description

Swift Mailer Logging Layer Interface

Please read the LICENSE file

Functions
add (line 55)

Add a new entry to the log

void add (string $text, string $type)
  • string $text: The information to log
  • string $type: The type of entry (see the constants: COMMAND, RESPONSE, ERROR, NORMAL)
addFailedRecipient (line 34)

Add a failed recipient to the list

void addFailedRecipient (string $address)
  • string $address: The address of the recipient
clear (line 63)

Empty the log contents

void clear ()
disable (line 25)

Disable logging

void disable ()
dump (line 59)

Dump the contents of the log to the browser

void dump ()
enable (line 21)

Enable logging

void enable ()
getFailedRecipients (line 39)

Get the list of failed recipients

array getFailedRecipients ()
getMaxSize (line 49)

Get the current maximum allowed log size

int getMaxSize ()
isEnabled (line 29)

Check if logging is enabled

void isEnabled ()
setMaxSize (line 44)

Set the maximum size of this log (zero is no limit)

void setMaxSize (int $size)
  • int $size: The maximum entries

Documentation generated on Tue, 06 Mar 2007 23:32:25 +0000 by phpDocumentor 1.3.1