TYPO3
7.6
|
Public Member Functions | |
__construct (Swift_Plugins_Logger $logger) | |
add ($entry) | |
clear () | |
dump () | |
commandSent (Swift_Events_CommandEvent $evt) | |
responseReceived (Swift_Events_ResponseEvent $evt) | |
beforeTransportStarted (Swift_Events_TransportChangeEvent $evt) | |
transportStarted (Swift_Events_TransportChangeEvent $evt) | |
beforeTransportStopped (Swift_Events_TransportChangeEvent $evt) | |
transportStopped (Swift_Events_TransportChangeEvent $evt) | |
exceptionThrown (Swift_Events_TransportExceptionEvent $evt) | |
Private Attributes | |
$_logger | |
Does real time logging of Transport level information.
Definition at line 16 of file LoggerPlugin.php.
__construct | ( | Swift_Plugins_Logger | $logger | ) |
Create a new LoggerPlugin using $logger.
Swift_Plugins_Logger | $logger |
Definition at line 26 of file LoggerPlugin.php.
add | ( | $entry | ) |
Add a log entry.
string | $entry |
Implements Swift_Plugins_Logger.
Definition at line 36 of file LoggerPlugin.php.
beforeTransportStarted | ( | Swift_Events_TransportChangeEvent | $evt | ) |
Invoked just before a Transport is started.
Swift_Events_TransportChangeEvent | $evt |
Implements Swift_Events_TransportChangeListener.
Definition at line 86 of file LoggerPlugin.php.
References Swift_Events_EventObject\getSource().
beforeTransportStopped | ( | Swift_Events_TransportChangeEvent | $evt | ) |
Invoked just before a Transport is stopped.
Swift_Events_TransportChangeEvent | $evt |
Implements Swift_Events_TransportChangeListener.
Definition at line 108 of file LoggerPlugin.php.
References Swift_Events_EventObject\getSource().
clear | ( | ) |
Clear the log contents.
Implements Swift_Plugins_Logger.
Definition at line 44 of file LoggerPlugin.php.
commandSent | ( | Swift_Events_CommandEvent | $evt | ) |
Invoked immediately following a command being sent.
Swift_Events_CommandEvent | $evt |
Implements Swift_Events_CommandListener.
Definition at line 64 of file LoggerPlugin.php.
References Swift_Events_CommandEvent\getCommand().
dump | ( | ) |
Get this log as a string.
Implements Swift_Plugins_Logger.
Definition at line 54 of file LoggerPlugin.php.
exceptionThrown | ( | Swift_Events_TransportExceptionEvent | $evt | ) |
Invoked as a TransportException is thrown in the Transport system.
Swift_Events_TransportExceptionEvent | $evt |
Implements Swift_Events_TransportExceptionListener.
Definition at line 130 of file LoggerPlugin.php.
References Swift_Events_EventObject\cancelBubble(), and Swift_Events_TransportExceptionEvent\getException().
responseReceived | ( | Swift_Events_ResponseEvent | $evt | ) |
Invoked immediately following a response coming back.
Swift_Events_ResponseEvent | $evt |
Implements Swift_Events_ResponseListener.
Definition at line 75 of file LoggerPlugin.php.
References $response, and Swift_Events_ResponseEvent\getResponse().
transportStarted | ( | Swift_Events_TransportChangeEvent | $evt | ) |
Invoked immediately after the Transport is started.
Swift_Events_TransportChangeEvent | $evt |
Implements Swift_Events_TransportChangeListener.
Definition at line 97 of file LoggerPlugin.php.
References Swift_Events_EventObject\getSource().
transportStopped | ( | Swift_Events_TransportChangeEvent | $evt | ) |
Invoked immediately after the Transport is stopped.
Swift_Events_TransportChangeEvent | $evt |
Implements Swift_Events_TransportChangeListener.
Definition at line 119 of file LoggerPlugin.php.
References Swift_Events_EventObject\getSource().
|
private |
The logger which is delegated to
Definition at line 19 of file LoggerPlugin.php.