Download the PHP package naas/log without Composer
On this page you can find all versions of the php package naas/log. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor naas
Package log
Short Description Logging class
License MIT
Homepage http://www.nunoserrano.com
Package log
Short Description Logging class
License MIT
Homepage http://www.nunoserrano.com
Keywords log
Please rate this library. Is it a good library?
Informations about the package log
README
naas/log is a simple logging class
Installation and so on...
Install with composer
Example
You need to include the Autoload.php and create a page class.
require_once __DIR__ . '/library/Autoload.php';
// You may use thru a factory pattern
$log = LogFactory::create();
$log->logIt('Type of log', 'Log message...');
$log->logIt('Type of error', 'Error message...', false);
$log->logIt('Type of error in other file', 'Error message...', false, 'err');
// Or use it by object creation
$log = new Log();
$log->logIt('Type of log', 'Log message...');
$log->logIt('Type of error', 'Error message...', false);
$log->logIt('Type of error in other file', 'Error message...', false, 'err');
// Or use it thru static methods
Log::logIt('Type of log', 'Log message...');
Log::logIt('Type of error', 'Error message...', false);
Log::logIt('Type of error in other file', 'Error message...', false, 'err');
// to check after...
All versions of log with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package naas/log contains the following files
Loading the files please wait ....