A stand-alone logger class for use with the Slim Framework
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<?php
require 'vendor/autoload.php';
$app = new \Slim\Slim(array(
    'log.writer' => new \Slim\Logger\DateTimeFileWriter()
));MIT Public License