A stand-alone logger class for use with the Slim Framework
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit of slim logger Jul 16, 2014
DateTimeFileWriter.php
LICENSE
README.md Initial commit of slim logger Jul 16, 2014
composer.json

README.md

Slim-Logger

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

Josh Lockhart

Contributor

Andrew Smith

License

MIT Public License