Swift
[ class tree: Swift ] [ index: Swift ] [ all elements ]

Class: Swift_Plugins_Loggers_ArrayLogger

Source Location: /vendors/swift/classes/Swift/Plugins/Loggers/ArrayLogger.php

Class Overview


Logs to an Array backend.


Author(s):

  • Chris Corbyn

Implements interfaces:

Methods



Class Details

[line 17]
Logs to an Array backend.



Tags:

author:  Chris Corbyn
filesource:  Source Code for this file


[ Top ]


Class Methods


constructor __construct [line 38]

Swift_Plugins_Loggers_ArrayLogger __construct( [ $size = 50])

Create a new ArrayLogger with a maximum of $size entries.



Tags:

access:  public


Parameters:

   $size  

[ Top ]

method add [line 47]

void add( string $entry)

Add a log entry.



Tags:

access:  public



Implementation of:
Swift_Plugins_Logger::add()
Add a log entry.

Parameters:

string   $entry  

[ Top ]

method clear [line 59]

void clear( )

Clear the log contents.



Tags:

access:  public



Implementation of:
Swift_Plugins_Logger::clear()
Clear the log contents.
[ Top ]

method dump [line 68]

string dump( )

Get this log as a string.



Tags:

access:  public



Implementation of:
Swift_Plugins_Logger::dump()
Get this log as a string.
[ Top ]


Documentation generated on Mon, 05 Sep 2011 20:32:02 -0500 by phpDocumentor 1.4.3