Documentation

Swift_Plugins_LoggerPlugin
in package
implements Swift_Events_CommandListener, Swift_Events_ResponseListener, Swift_Events_TransportChangeListener, Swift_Events_TransportExceptionListener, Swift_Plugins_Logger

Does real time logging of Transport level information.

Tags
author

Chris Corbyn

Interfaces, Classes and Traits

Swift_Events_CommandListener
Listens for Transports to send commands to the server.
Swift_Events_ResponseListener
Listens for responses from a remote SMTP server.
Swift_Events_TransportChangeListener
Listens for changes within the Transport system.
Swift_Events_TransportExceptionListener
Listens for Exceptions thrown from within the Transport system.
Swift_Plugins_Logger
Logs events in the Transport system.

Table of Contents

$logger  : mixed
The logger which is delegated to
__construct()  : mixed
Create a new LoggerPlugin using $logger.
add()  : mixed
Add a log entry.
beforeTransportStarted()  : mixed
Invoked just before a Transport is started.
beforeTransportStopped()  : mixed
Invoked just before a Transport is stopped.
clear()  : mixed
Clear the log contents.
commandSent()  : mixed
Invoked immediately following a command being sent.
dump()  : string
Get this log as a string.
exceptionThrown()  : mixed
Invoked as a TransportException is thrown in the Transport system.
responseReceived()  : mixed
Invoked immediately following a response coming back.
transportStarted()  : mixed
Invoked immediately after the Transport is started.
transportStopped()  : mixed
Invoked immediately after the Transport is stopped.

Properties

$logger

The logger which is delegated to

private mixed $logger

Methods

add()

Add a log entry.

public add(string $entry) : mixed
Parameters
$entry : string
Return values
mixed

clear()

Clear the log contents.

public clear() : mixed
Return values
mixed

dump()

Get this log as a string.

public dump() : string
Return values
string

Search results