slim / logger
Slim Framework logger
Installs: 260 866
Dependents: 2
Suggesters: 0
Security: 0
Stars: 40
Watchers: 8
Forks: 8
Open Issues: 4
Requires
- php: >=5.3.0
- slim/slim: >=2.4.0
This package is not auto-updated.
Last update: 2024-11-19 09:01:31 UTC
README
A stand-alone logger class for use with the Slim Framework
How to Install
using Composer
Create a composer.json file in your project root:
{ "require": { "slim/logger": "0.1.*" } }
Then run the following composer command:
$ php composer.phar install
How to use
<?php require 'vendor/autoload.php'; $app = new \Slim\Slim(array( 'log.writer' => new \Slim\Logger\DateTimeFileWriter() ));
Author
Contributor
License
MIT Public License