Skip to content

gobline/logwriter-mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mail Log Writer component

Gobline\Logger\Writer\MailLogWriter writes log information out as mail messages.

Usage

$transport = Swift_SmtpTransport::newInstance('smtp.gmail.com', 465, 'ssl')
    ->setUsername('[email protected]')
    ->setPassword('qwerty');

$mailer = Swift_Mailer::newInstance($transport);

$logger = new Gobline\Logger\Writer\MailLogWriter($mailer, '[email protected]', '[email protected]');

$logger->debug('hello world');

Installation

You can install the Mail Log Writer using the dependency management tool Composer. Run the require command to resolve and download the dependencies:

composer require gobline/logwriter-mail

About

Write log information out as mail messages

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages