Class Swift_Log_Base

Description

The Base Logger class

Located in /Swift/Log/Base.php (line 20)


	
			
Direct descendents
Class Description
Swift_Log_DefaultLog The Default Logger class
Class Constant Summary
 COMMAND = ">>"
 ERROR = "!!"
 NORMAL = "++"
 RESPONSE = "<<"
Method Summary
void addFailedRecipient (string $address)
void disable ()
void enable ()
int getMaxSize ()
void isEnabled ()
void setMaxSize (int $size)
Methods
addFailedRecipient (line 81)

Add a failed recipient to the list

void addFailedRecipient (string $address)
  • string $address: The address of the recipient
disable (line 65)

Disable logging

void disable ()
enable (line 57)

Enable logging

void enable ()
getFailedRecipients (line 89)

Get the list of failed recipients

array getFailedRecipients ()
getMaxSize (line 105)

Get the current maximum allowed log size

int getMaxSize ()
isEnabled (line 73)

Check if logging is enabled

void isEnabled ()
setMaxSize (line 97)

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

void setMaxSize (int $size)
  • int $size: The maximum entries
Class Constants
COMMAND = ">>" (line 25)

A command type entry

ERROR = "!!" (line 33)

An error type entry

NORMAL = "++" (line 37)

A standard entry

RESPONSE = "<<" (line 29)

A response type entry

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