Class Swift_Log_DefaultLog

Description

The Default Logger class

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

Swift_Log
   |
   --Swift_Log_DefaultLog
Variable Summary
array $entries
Method Summary
void add (string $text, [string $type = self::NORMAL])
void clear ()
void dump ([boolean $return_only = false])
Variables
array $entries = array() (line 26)

Lines in the log

  • access: protected

Inherited Variables

Inherited from Swift_Log

Swift_Log::$failedRecipients
Swift_Log::$logLevel
Swift_Log::$maxSize
Methods
add (line 33)

Add a log entry

  • access: public
void add (string $text, [string $type = self::NORMAL])
  • string $text: The text for this entry
  • string $type: The label for the type of entry

Redefinition of:
Swift_Log::add()
Add a new entry to the log
clear (line 51)

Empty the log

  • access: public
void clear ()

Redefinition of:
Swift_Log::clear()
Empty the log contents
dump (line 42)

Dump the contents of the log to the browser.

  • access: public
void dump ([boolean $return_only = false])
  • boolean $return_only: True if the string should be returned rather than output.

Redefinition of:
Swift_Log::dump()
Dump the contents of the log to the browser.

Inherited Methods

Inherited From Swift_Log

Swift_Log::add()
Swift_Log::addFailedRecipient()
Swift_Log::clear()
Swift_Log::dump()
Swift_Log::getFailedRecipients()
Swift_Log::getLogLevel()
Swift_Log::getMaxSize()
Swift_Log::hasLevel()
Swift_Log::isEnabled()
Swift_Log::setLogLevel()
Swift_Log::setMaxSize()
Class Constants

Documentation generated on Wed, 26 Mar 2008 20:33:05 +1100 by phpDocumentor 1.3.1