PHPackages                             gonzoinc/glogger - 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. gonzoinc/glogger

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

gonzoinc/glogger
================

Simple logger class implementing klogger

1.1.2(6y ago)0365[2 issues](https://github.com/gonzoinc/GLogger/issues)PHPPHP &gt;=5.6.4CI failing

Since Nov 8Pushed 6y agoCompare

[ Source](https://github.com/gonzoinc/GLogger)[ Packagist](https://packagist.org/packages/gonzoinc/glogger)[ RSS](/packages/gonzoinc-glogger/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (3)Versions (7)Used By (0)

GLogger
=======

[](#glogger)

Project created by [Greg Dean](https://github.com/gonzoinc)

About
-----

[](#about)

Glogger is a simple logger class implementing [Klogger](https://github.com/katzgrau/KLogger). It's basically a wrapper. The purpose of this was a simpler way to use Klogger throughout an application. Constants are now used which allows easier management, configurability and ease of use.

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

[](#installation)

Installation is done strictly with Composer and loaded with it's autoload feature.

```
composer require gonzoinc/glogger
```

In your `composer.json`:

```
{
    "require": {
        "gonzoinc/glogger": "1.0.0"
    }
}
```

Usage
-----

[](#usage)

Check Sample file for working example of the class and examples of the various logging levels.

The Constants used are defined in the init.php file. Be sure to copy them over to your application and set them as needed.

```
