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

Class: Swift_Plugins_LoggerPlugin

Source Location: /vendors/swift/classes/Swift/Plugins/LoggerPlugin.php

Class Overview


Does real time logging of Transport level information.


Author(s):

  • Chris Corbyn

Implements interfaces:

Methods



Class Details

[line 30]
Does real time logging of Transport level information.



Tags:

author:  Chris Corbyn
filesource:  Source Code for this file


[ Top ]


Class Methods


constructor __construct [line 44]

Swift_Plugins_LoggerPlugin __construct( Swift_Plugins_Logger $logger)

Create a new LoggerPlugin using $logger.



Tags:

access:  public


Parameters:

Swift_Plugins_Logger   $logger  

[ Top ]

method add [line 54]

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 beforeTransportStarted [line 104]

void beforeTransportStarted( Swift_Events_TransportChangeEvent $evt)

Invoked just before a Transport is started.



Tags:

access:  public



Implementation of:
Swift_Events_TransportChangeListener::beforeTransportStarted()
Invoked just before a Transport is started.

Parameters:


[ Top ]

method beforeTransportStopped [line 126]

void beforeTransportStopped( Swift_Events_TransportChangeEvent $evt)

Invoked just before a Transport is stopped.



Tags:

access:  public



Implementation of:
Swift_Events_TransportChangeListener::beforeTransportStopped()
Invoked just before a Transport is stopped.

Parameters:


[ Top ]

method clear [line 62]

void clear( )

Clear the log contents.



Tags:

access:  public



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

method commandSent [line 82]

void commandSent( Swift_Events_CommandEvent $evt)

Invoked immediately following a command being sent.



Tags:

access:  public



Implementation of:
Swift_Events_CommandListener::commandSent()
Invoked immediately following a command being sent.

Parameters:


[ Top ]

method dump [line 72]

string dump( )

Get this log as a string.



Tags:

access:  public



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

method exceptionThrown [line 148]

void exceptionThrown( Swift_Events_TransportExceptionEvent $evt)

Invoked as a TransportException is thrown in the Transport system.



Tags:

access:  public



Implementation of:
Swift_Events_TransportExceptionListener::exceptionThrown()
Invoked as a TransportException is thrown in the Transport system.

Parameters:


[ Top ]

method responseReceived [line 93]

void responseReceived( Swift_Events_ResponseEvent $evt)

Invoked immediately following a response coming back.



Tags:

access:  public



Implementation of:
Swift_Events_ResponseListener::responseReceived()
Invoked immediately following a response coming back.

Parameters:


[ Top ]

method transportStarted [line 115]

void transportStarted( Swift_Events_TransportChangeEvent $evt)

Invoked immediately after the Transport is started.



Tags:

access:  public



Implementation of:
Swift_Events_TransportChangeListener::transportStarted()
Invoked immediately after the Transport is started.

Parameters:


[ Top ]

method transportStopped [line 137]

void transportStopped( Swift_Events_TransportChangeEvent $evt)

Invoked immediately after the Transport is stopped.



Tags:

access:  public



Implementation of:
Swift_Events_TransportChangeListener::transportStopped()
Invoked immediately after the Transport is stopped.

Parameters:


[ Top ]


Documentation generated on Mon, 05 Sep 2011 20:33:37 -0500 by phpDocumentor 1.4.3