PHP Class Pop\Log\Writer\Mail

Author: Nick Sagona, III ([email protected])
Inheritance: implements Pop\Log\Writer\WriterInterface
Show file Open project: nicksagona/PopPHP

Protected Properties

Property Type Description
$emails array Array of emails in which to send the log messages

Public Methods

Method Description
__construct ( array $emails ) : Mail Constructor
writeLog ( array $logEntry, array $options = [] ) : Mail Method to write to the log

Method Details

__construct() public method

Instantiate the Mail writer object.
public __construct ( array $emails ) : Mail
$emails array
return Mail

writeLog() public method

Method to write to the log
public writeLog ( array $logEntry, array $options = [] ) : Mail
$logEntry array
$options array
return Mail

Property Details

$emails protected property

Array of emails in which to send the log messages
protected array $emails
return array