PHPackages                             suver/yii2-logger - 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. suver/yii2-logger

ActiveYii2-extension[Logging &amp; Monitoring](/categories/logging)

suver/yii2-logger
=================

log target for Yii2

1.0.3-stable(9y ago)1532BSD 3-ClausePHP

Since Mar 16Pushed 9y ago1 watchersCompare

[ Source](https://github.com/suver/yii2-logger)[ Packagist](https://packagist.org/packages/suver/yii2-logger)[ Docs](https://github.com/suver/yii2-logger)[ RSS](/packages/suver-yii2-logger/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

log target for Yii2
===================

[](#log-target-for-yii2)

Credits
-------

[](#credits)

Benjamin Zikarsky

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require "suver/yii2-logger" "*"

```

or add

```
"suver/yii2-logger" : "*"
```

to the `require` section of your application's `composer.json` file.

Usage
-----

[](#usage)

Add Graylog target to your log component config:

```
