PHPackages                             acplo/acplolog - 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. acplo/acplolog

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

acplo/acplolog
==============

AcploLog provides some log utility your ZF2 application

0.0.1(11y ago)1701BSD-3-ClausePHPPHP &gt;=5.4.0

Since Apr 25Pushed 11y ago2 watchersCompare

[ Source](https://github.com/acplo/AcploLog)[ Packagist](https://packagist.org/packages/acplo/acplolog)[ Docs](http://github.com/Acplo/AcploLog)[ RSS](/packages/acplo-acplolog/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (1)

AcploLog
========

[](#acplolog)

[![Latest Stable Version](https://camo.githubusercontent.com/7697d69e3f821367726a32a34b00f42603ed681be6e638c5ad12ef4f07125ee1/68747470733a2f2f706f7365722e707567782e6f72672f6163706c6f2f6163706c6f6c6f672f762f737461626c65)](https://packagist.org/packages/acplo/acplolog) [![Total Downloads](https://camo.githubusercontent.com/cadcba6d00252eddc632c2f1b25d484aa868f397ce5bd4e890215463c53b3714/68747470733a2f2f706f7365722e707567782e6f72672f6163706c6f2f6163706c6f6c6f672f646f776e6c6f616473)](https://packagist.org/packages/acplo/acplolog) [![Latest Unstable Version](https://camo.githubusercontent.com/b556d1f310363168f022e170bcff5bae592f85dfbfc7ecc6a01d909c1ca691cd/68747470733a2f2f706f7365722e707567782e6f72672f6163706c6f2f6163706c6f6c6f672f762f756e737461626c65)](https://packagist.org/packages/acplo/acplolog) [![License](https://camo.githubusercontent.com/ca26607b90e115634fd912db076312bda123e82acb9740d6045c643211a838d4/68747470733a2f2f706f7365722e707567782e6f72672f6163706c6f2f6163706c6f6c6f672f6c6963656e7365)](https://packagist.org/packages/acplo/acplolog)

Introduction
------------

[](#introduction)

This module provides some useful log classes:

- ErrorLogger = PHP error and Exception
- EntityLogger = Doctrine ORM Entity
- SqlLogger = Doctrine DBAL SQL
- StaticLogger = "Shortcut" to a generic file logger. Can be attached to the Z-Ray in Zend Server (NEW)

Requirements
------------

[](#requirements)

This module only requires zendframework 2 [framework.zend.com](http://framework.zend.com/).

Instalation
-----------

[](#instalation)

Instalation can be done with composer ou manually

### Installation with composer

[](#installation-with-composer)

For composer documentation, please refer to [getcomposer.org](http://getcomposer.org/).

1. Enter your project directory
2. Create or edit your `composer.json` file with following contents:

    ```
    {
        "minimum-stability": "dev",
        "require": {
            "acplo/acplolog": "1.*"
        }
    }
    ```
3. Run `php composer.phar install`
4. Open `my/project/directory/config/application.config.php` and add `AcploLog` to your `modules`

    Usually insert as the first module to enable catch errors and exceptions in all modules.

```
```php
