Skip to content
PHP PSR-3 compatible loggers
Branch: master
Clone or download
Latest commit 18e8af5 Sep 2, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Dropping version, it is in composer.json Feb 10, 2016
.gitignore Moving code in src/ Oct 19, 2015
LICENSE Adding basic documentation Feb 25, 2016
composer.json Removing version field Sep 1, 2019


PHP PSR-3 compatible loggers

Latest Stable Version License



Install directly via Composer:

$ composer require phyrexia/log

Basic Usage

require 'vendor/autoload.php';

use Phyrexia\Log\FileLogger;

//Instantiate a FileLogger logger
$logger = new FileLogger('/tmp/some_file.log');

//Log an error
$logger->error('An error occured! :(');

//Log an info
$logger->info('It works! :)');

You can’t perform that action at this time.