Skip to content

Edrard/mylog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Log

My Log, extend of Monolog to run static

Simple Example


use edrard\Log\MyLog;


MyLog::info('info');

MyLog::init('logs','log',array(new NativeMailerHandler('[email protected]', '[ERROR]', '[email protected]', Logger::ERROR, false) );
MyLog::critical('Critical');
MyLog::warning('Warning');
MyLog::error('Error');


MyLog::error('Error',array(),'log2');
MyLog::info('info',array(),'log2');