dev-master
9999999-devPHP classes for logging framework
MIT
The Requires
- php >=5.4
micro framework mvc module education
v1.0
1.0.0.0PHP classes for logging framework
MIT
The Requires
- php >=5.4
micro framework mvc module education
PHP classes for logging framework
First update your composer.json with the following:, (*2)
"require": { "thulin82/clog": "dev-master" },
Then update with:, (*3)
composer update
To add CLog, the easiest way is either add it as a shared service:, (*4)
$this->setShared('log', function () { $log = new \thulin82\CLog\CLog(); return $log; });
or to initialize it when/where you need it:, (*5)
$log = new \thulin82\CLog\CLog();
An example file is located in webroot/CLogExample.php to show off the different ways you can use CLog, (*6)
docker build -t clog .
PHP classes for logging framework
MIT
micro framework mvc module education
PHP classes for logging framework
MIT
micro framework mvc module education