<commit_before>Yii 2.0 Framework Log Classes
=============================
SyslogTarget writes log to syslog.

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

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

Either run

```
php composer.phar require --prefer-dist dmstr/yii2-log "*"
```

or add

```
"dmstr/yii2-log": "*"
```

to the require section of your `composer.json` file.


Usage
-----

Once the extension is installed, simply use it in your code by  :

```php
<?= \dmstr\log\AutoloadExample::widget(); ?>```<commit_msg>updated usage<commit_after>Yii 2.0 Framework Log Classes
=============================
SyslogTarget writes log to syslog.

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

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

Either run

```
php composer.phar require --prefer-dist dmstr/yii2-log "*"
```

or add

```
"dmstr/yii2-log": "*"
```

to the require section of your `composer.json` file.


Usage
-----

Once the extension is installed, simply use it in your code by  :

        'log'	=> [
            'targets'	=> [
                [
                    'class'		=> 'dmstr\log\SyslogTarget',
                    'levels'	=> ['error', 'warning', 'info', 'trace'],
                    'enabled'	=> true,
                    'logVars'	=> ['_GET','_POST'],
                ],
            ],
        ],
{'fraction_non_alphanumeric': 0.19669777458722182, 'fraction_numerical': 0.00574300071787509, 'mean_word_length': 2.4419753086419753, 'pattern_counts': {'":': 2, '<': 4, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7332262', 'n_tokens_mistral': 450, 'n_tokens_neox': 418, 'n_words': 120}