edrard/mylog

Wrapper for Monolog

Maintainers

Package info

github.com/Edrard/mylog

pkg:composer/edrard/mylog

Statistics

Installs: 33

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 0

1.1 2019-07-30 11:39 UTC

This package is auto-updated.

Last update: 2026-02-21 14:33:13 UTC


README

My Log, extend of Monolog to run static

Simple Example


use edrard\Log\MyLog;


MyLog::info('info');

MyLog::init('logs','log',array(new NativeMailerHandler('test@example.com', '[ERROR]', 'outgoing@example.com', Logger::ERROR, false) );
MyLog::critical('Critical');
MyLog::warning('Warning');
MyLog::error('Error');


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