Sunday, January 1, 2017

Log Engine Framework


Log Engine is PHP framework that used for the purpose of more uncomplicated implementation of the logging serve as in PHP scripts. Logging is possible via flat Document, E-mail, MySQL, SQLite and Mongo DB.

Basic utilization

To put into effect basic logging feature to your utility you wish to have to put in writing best 4 traces of code!

<?php // Load autoload magnificence require_once 'AutoLoader.php'; // Make log object $log = new LEF/Log(); // Init. log engine $log->engine(); // Trigger engine to put in writing log $log->addLogInfo('Hello from LEF!');

The Use Of drivers

Using drivers could also be very easy, you want to make motive force object and call it inside engine.

<?php // Load autoload elegance require_once 'AutoLoader.php'; // Make log item $log = new LEF/Log(); // Make mongodb item $mongoDriver = new LEF/Driving Force/MongoDB(); // Init. engine with mongo db driver $log->engine($mongoDriver->init('db_name')); // Cause engine to write log $log->addLogNotice('Log brought to db');
FULL DOWNLOAD

No comments:

Post a Comment

Trik tersembunyi Bermain Slither.io agar menjadi no 1 | cara tau ampuh

Slither.io Unblocked Play Engaging in online game playing avails a chance for one to have a great experience. This opens up an enormous amo...