PHPackages                             ameshkin/superlogger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. ameshkin/superlogger

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

ameshkin/superlogger
====================

Simple but powerful logging script that builds on psr/log LoggerInterface, with env files, custom log paths and more

010PHP

Since Jul 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ameshkin/superlogger)[ Packagist](https://packagist.org/packages/ameshkin/superlogger)[ RSS](/packages/ameshkin-superlogger/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Simple Logger
=============

[](#simple-logger)

For years I've used this script for logging when I'm not using PHP DEBUG.

Super Logger is a powerful yet simple class for logging errors to log files, custom log files or the browser.

I make use of ENV files so you can have settings for different environments. You can also use KRUMO or JSON to output your errors.

[Krumo](https://packagist.org/packages/mmucklo/krumo) is also an optional dependency which can be used to output arrays and objects in a more readable format.

This package works well with PIMP MY LOG!

Installation
------------

[](#installation)

Installation is easy using composer.

```
composer require ameshkin/superlogger:dev-master

```

Place this into your `composer.json`:

```
{
    "require": {
        "ameshkin/superlogger": "dev-master"
    }
}
```

Basic Usage
-----------

[](#basic-usage)

```
