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

Class: Swift_Plugins_LoggerPlugin

Source Location: /system/vendor/swiftmailer/swiftmailer/lib/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 16]
Does real time logging of Transport level information.



Tags:

author:  Chris Corbyn


[ Top ]


Class Methods


constructor __construct [line 26]

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 36]

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 86]

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 108]

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 44]

void clear( )

Clear the log contents.



Tags:

access:  public



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

method commandSent [line 64]

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 54]

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 130]

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 75]

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 97]

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 119]

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 Sun, 02 Oct 2016 07:51:55 +0000 by phpDocumentor 1.4.3